cvs: pear /MDB2 package.php package.xml package_mysql.xml package_mysqli.xml package_oci8.xml package_pgsql.xml package_querysim.xml
package_sqlite.xml
| From: | Lukas Smith | Date: | Thu, 15 Jun 2006 11:21:29 +0000 |
| Subject: | cvs: pear /MDB2 package.php package.xml package_mysql.xml package_mysqli.xml package_oci8.xml package_pgsql.xml package_querysim.xml package_sqlite.xml |
||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-40711@lists.php.net to get a copy of this message | ||
lsmith Thu Jun 15 11:21:29 2006 UTC
Modified files:
/pear/MDB2 package_sqlite.xml package_querysim.xml
package_pgsql.xml package_oci8.xml package_mysqli.xml
package_mysql.xml package.xml package.php
Log:
- updated for release
http://cvs.php.net/viewcvs.cgi/pear/MDB2/package_sqlite.xml?r1=1.24&r2=1.25&diff_format=u Index: pear/MDB2/package_sqlite.xml diff -u pear/MDB2/package_sqlite.xml:1.24 pear/MDB2/package_sqlite.xml:1.25 --- pear/MDB2/package_sqlite.xml:1.24 Sun May 14 06:22:42 2006 +++ pear/MDB2/package_sqlite.xml Thu Jun 15 11:21:29 2006 @@ -14,18 +14,20 @@ </maintainer> </maintainers> <release> - <version>1.0.2</version> - <date>2006-05-14</date> + <version>1.1.0</version> + <date>2006-06-15</date> <license>BSD License</license> <state>stable</state> - <notes>- explicitly set is_manip parameter to false for transaction debug calls -- added ability to hint that a constraint is a primary key in dropConstraint() -- typo fixes in phpdoc (thx Stoyan) -- added support for fixed and variable types for 'text' in declarations, - as well as in reverse engineering (Request #1523) -- made _doQuery() return a reference -- added userinfo's to all raiseError calls that previously had none -- added 'prepared_statements' supported meta data setting + <notes>- fixed unsigned handling in mapNativeDatatype() +- use setCharset() in connect()/_doConnect() +- generalized quoteIdentifier() with a property +- fixed warning in replace() if type is not set (Bug #7740) +- cosmetic performance tweak in getTableFieldDefinition() +- switched most array_key_exists() calls to !empty() to improve readability and performance +- fixed a few edge cases and potential warnings +- added ability to rewrite queries for query(), exec() and prepare() using a debug handler callback +- revert change that would prefer 'clob' over 'text' for TEXT fields + (this was breaking runtime instrospection) open todo items: - a number of the manager test cases fail because sqlite does not support adding @@ -37,7 +39,7 @@ <deps> <dep type="php" rel="ge" version="4.3.0" optional="no"/> <dep type="pkg" rel="ge" version="1.0b1" optional="no">PEAR</dep> - <dep type="pkg" rel="ge" version="2.0.1" optional="no">MDB2</dep> + <dep type="pkg" rel="ge" version="2.1.0" optional="no">MDB2</dep> <dep type="ext" rel="has" optional="no">sqlite</dep> </deps> <filelist> @@ -77,6 +79,30 @@ </release> <changelog> <release> + <version>1.1.0</version> + <date>2006-06-15</date> + <license>BSD License</license> + <state>stable</state> + <notes>- fixed unsigned handling in mapNativeDatatype() +- use setCharset() in connect()/_doConnect() +- generalized quoteIdentifier() with a property +- fixed warning in replace() if type is not set (Bug #7740) +- cosmetic performance tweak in getTableFieldDefinition() +- switched most array_key_exists() calls to !empty() to improve readability and performance +- fixed a few edge cases and potential warnings +- added ability to rewrite queries for query(), exec() and prepare() using a debug handler callback +- revert change that would prefer 'clob' over 'text' for TEXT fields + (this was breaking runtime instrospection) + +open todo items: +- a number of the manager test cases fail because sqlite does not support adding + primary keys to existing tables +- the alter table tests fails because this is unsupported in sqlite2 +- the test replace test fails because sqlite reports an incorrect affected rows + value when no existing data was replaced + </notes> + </release> + <release> <version>1.0.2</version> <date>2006-05-14</date> <license>BSD License</license> http://cvs.php.net/viewcvs.cgi/pear/MDB2/package_querysim.xml?r1=1.18&r2=1.19&diff_format=u Index: pear/MDB2/package_querysim.xml diff -u pear/MDB2/package_querysim.xml:1.18 pear/MDB2/package_querysim.xml:1.19 --- pear/MDB2/package_querysim.xml:1.18 Sun May 14 06:22:42 2006 +++ pear/MDB2/package_querysim.xml Thu Jun 15 11:21:29 2006 @@ -14,14 +14,15 @@ </maintainer> </maintainers> <release> - <version>0.2.3</version> - <date>2006-05-14</date> + <version>0.3.0</version> + <date>2006-06-15</date> <license>BSD License</license> <state>beta</state> - <notes>- typo fixes in phpdoc (thx Stoyan) -- made _doQuery() return a reference -- added userinfo's to all raiseError calls that previously had none -- added 'prepared_statements' supported meta data setting + <notes>- use setCharset() in connect()/_doConnect() +- generalized quoteIdentifier() with a property +- switched most array_key_exists() calls to !empty() to improve readability and performance +- fixed a few edge cases and potential warnings +- added ability to rewrite queries for query(), exec() and prepare() using a debug handler callback open todo items: - add ability to reference multiple results set files for different queries @@ -29,7 +30,7 @@ <deps> <dep type="php" rel="ge" version="4.3.0" optional="no"/> <dep type="pkg" rel="ge" version="1.0b1" optional="no">PEAR</dep> - <dep type="pkg" rel="ge" version="2.0.0RC1" optional="no">MDB2</dep> + <dep type="pkg" rel="ge" version="2.1.0" optional="no">MDB2</dep> </deps> <filelist> <dir name="/" baseinstalldir="/"> @@ -58,6 +59,21 @@ </release> <changelog> <release> + <version>0.3.0</version> + <date>2006-06-15</date> + <license>BSD License</license> + <state>beta</state> + <notes>- use setCharset() in connect()/_doConnect() +- generalized quoteIdentifier() with a property +- switched most array_key_exists() calls to !empty() to improve readability and performance +- fixed a few edge cases and potential warnings +- added ability to rewrite queries for query(), exec() and prepare() using a debug handler callback + +open todo items: +- add ability to reference multiple results set files for different queries + </notes> + </release> + <release> <version>0.2.3</version> <date>2006-05-14</date> <license>BSD License</license> http://cvs.php.net/viewcvs.cgi/pear/MDB2/package_pgsql.xml?r1=1.28&r2=1.29&diff_format=u Index: pear/MDB2/package_pgsql.xml diff -u pear/MDB2/package_pgsql.xml:1.28 pear/MDB2/package_pgsql.xml:1.29 --- pear/MDB2/package_pgsql.xml:1.28 Wed May 24 16:27:34 2006 +++ pear/MDB2/package_pgsql.xml Thu Jun 15 11:21:29 2006 @@ -14,19 +14,33 @@ </maintainer> </maintainers> <release> - <version>1.0.3</version> - <date>2006-05-24</date> + <version>1.1.0</version> + <date>2006-06-15</date> <license>BSD License</license> <state>stable</state> - <notes>SECURITY FIX (http://www.postgresql.org/docs/techdocs.50) -- use pg_escape_string() -- use "'" as the escape character -- limit fetch to 1 row in listTableFields() + <notes>- added setCharset() +- use setCharset() in connect()/_doConnect() +- generalized quoteIdentifier() with a property +- switched most array_key_exists() calls to !empty() to improve readability and performance +- fixed a few edge cases and potential warnings +- return error when changing datatypes in alterTable() on pgsql version lower than 8.x (Bug #7731) +- added ability to rewrite queries for query(), exec() and prepare() using a debug handler callback +- fixed missing error handling in getTableFieldDefinition() (Bug #7791) +- pass limit and offset to the result object constructor in _execute() for read statements +- use pg_prepare() if available so that we do not need to define the types anymore (Request #7797) +- added code to use pg_execute() but disabled due to issues with bytea fields +- check if result/connection has not yet been freed/dicsonnected before + attempting to free a result set(Bug #7790) +- revert change that would prefer 'clob' over 'text' for TEXT fields + (this was breaking runtime instrospection) + +open todo items: +- enable pg_execute() once issues with bytea column are resolved </notes> <deps> <dep type="php" rel="ge" version="4.3.0" optional="no"/> <dep type="pkg" rel="ge" version="1.0b1" optional="no">PEAR</dep> - <dep type="pkg" rel="ge" version="2.0.3" optional="no">MDB2</dep> + <dep type="pkg" rel="ge" version="2.1.0" optional="no">MDB2</dep> <dep type="ext" rel="has" optional="no">pgsql</dep> </deps> <filelist> @@ -66,6 +80,31 @@ </release> <changelog> <release> + <version>1.1.0</version> + <date>2006-06-15</date> + <license>BSD License</license> + <state>stable</state> + <notes>- added setCharset() +- use setCharset() in connect()/_doConnect() +- generalized quoteIdentifier() with a property +- switched most array_key_exists() calls to !empty() to improve readability and performance +- fixed a few edge cases and potential warnings +- return error when changing datatypes in alterTable() on pgsql version lower than 8.x (Bug #7731) +- added ability to rewrite queries for query(), exec() and prepare() using a debug handler callback +- fixed missing error handling in getTableFieldDefinition() (Bug #7791) +- pass limit and offset to the result object constructor in _execute() for read statements +- use pg_prepare() if available so that we do not need to define the types anymore (Request #7797) +- added code to use pg_execute() but disabled due to issues with bytea fields +- check if result/connection has not yet been freed/dicsonnected before + attempting to free a result set(Bug #7790) +- revert change that would prefer 'clob' over 'text' for TEXT fields + (this was breaking runtime instrospection) + +open todo items: +- enable pg_execute() once issues with bytea column are resolved + </notes> + </release> + <release> <version>1.0.3</version> <date>2006-05-24</date> <license>BSD License</license> http://cvs.php.net/viewcvs.cgi/pear/MDB2/package_oci8.xml?r1=1.26&r2=1.27&diff_format=u Index: pear/MDB2/package_oci8.xml diff -u pear/MDB2/package_oci8.xml:1.26 pear/MDB2/package_oci8.xml:1.27 --- pear/MDB2/package_oci8.xml:1.26 Sun May 14 06:22:42 2006 +++ pear/MDB2/package_oci8.xml Thu Jun 15 11:21:29 2006 @@ -20,40 +20,39 @@ </maintainer> </maintainers> <release> - <version>0.2.6</version> - <date>2006-05-14</date> + <version>0.3.0</version> + <date>2006-06-15</date> <license>BSD License</license> <state>beta</state> - <notes>- explicitly set is_manip parameter to false for transaction debug calls -- pass parameter array as debug() all with scope "parameters" in every execute() - call (bug #4119) -- typo fixes in phpdoc (thx Stoyan) -- added support for fixed and variable types for 'text' in declarations, - as well as in reverse engineering (Request #1523) -- made _doQuery() return a reference -- added userinfo's to all raiseError calls that previously had none -- allow using the database name in the SID generation -- only support createDatabase(), dropDatabase() and listDatabases() - if emulate_database is enabled -- added 'prepared_statements' supported meta data setting -- fixed issue in prepare() with parsing of ? type placeholders for LOBs -- strip of file:// prefix in writeLOBToFile() -- typo fix ressource/resource in LOB array -- do not use foreach() on lob descriptor reference array -- marked primary key as supported -- fix DSN handling in _doConnect() (Bug #4104) -- seek(0) after calling load()/writetofile() -- fixed _destroyLOB() API to match other private LOB methods -- fixed phpdoc comments of all private LOB methods + <notes>- added "emulate_prepared" option to force prepared statement emulation +- tweaked handling of free() for prepared statements +- return error if a prepared statement is attempted to be freed twice +- use setCharset() in connect()/_doConnect() +- fixed number length handling when reverse engineering numeric types +- generalized quoteIdentifier() with a property +- cosmetic performance tweak in getTableFieldDefinition() +- switched most array_key_exists() calls to !empty() to improve readability and performance +- fixed a few edge cases and potential warnings +- added ability to rewrite queries for query(), exec() and prepare() using a debug handler callback +- pass limit and offset to the result object constructor in _execute() for read statements +- optmized limit queries without offset +- make sure no additional fields are added due to using limit/offset +- check if result/connection has not yet been freed/dicsonnected before + attempting to free a result set(Bug #7790) +- fixed small typo with 'clob' reverse engineering + +note: please use the latest ext/oci8 version from pecl.php.net/oci8 +(binaries are available from snaps.php.net and pecl4win.php.net) open todo items: - fix issues with testcreateautoincrementtable (error on sequence creation) - ensure that all primary/unique/foreign key handling is only in the contraint methods +- enable use of read() for LOBs to read a LOB in chunks </notes> <deps> <dep type="php" rel="ge" version="4.3.0" optional="no"/> <dep type="pkg" rel="ge" version="1.0b1" optional="no">PEAR</dep> - <dep type="pkg" rel="ge" version="2.0.1" optional="no">MDB2</dep> + <dep type="pkg" rel="ge" version="2.1.0" optional="no">MDB2</dep> <dep type="ext" rel="has" optional="no">oci8</dep> </deps> <filelist> @@ -93,6 +92,37 @@ </release> <changelog> <release> + <version>0.3.0</version> + <date>2006-06-15</date> + <license>BSD License</license> + <state>beta</state> + <notes>- added "emulate_prepared" option to force prepared statement emulation +- tweaked handling of free() for prepared statements +- return error if a prepared statement is attempted to be freed twice +- use setCharset() in connect()/_doConnect() +- fixed number length handling when reverse engineering numeric types +- generalized quoteIdentifier() with a property +- cosmetic performance tweak in getTableFieldDefinition() +- switched most array_key_exists() calls to !empty() to improve readability and performance +- fixed a few edge cases and potential warnings +- added ability to rewrite queries for query(), exec() and prepare() using a debug handler callback +- pass limit and offset to the result object constructor in _execute() for read statements +- optmized limit queries without offset +- make sure no additional fields are added due to using limit/offset +- check if result/connection has not yet been freed/dicsonnected before + attempting to free a result set(Bug #7790) +- fixed small typo with 'clob' reverse engineering + +note: please use the latest ext/oci8 version from pecl.php.net/oci8 +(binaries are available from snaps.php.net and pecl4win.php.net) + +open todo items: +- fix issues with testcreateautoincrementtable (error on sequence creation) +- ensure that all primary/unique/foreign key handling is only in the contraint methods +- enable use of read() for LOBs to read a LOB in chunks + </notes> + </release> + <release> <version>0.2.6</version> <date>2006-05-14</date> <license>BSD License</license> http://cvs.php.net/viewcvs.cgi/pear/MDB2/package_mysqli.xml?r1=1.27&r2=1.28&diff_format=u Index: pear/MDB2/package_mysqli.xml diff -u pear/MDB2/package_mysqli.xml:1.27 pear/MDB2/package_mysqli.xml:1.28 --- pear/MDB2/package_mysqli.xml:1.27 Mon May 22 10:18:05 2006 +++ pear/MDB2/package_mysqli.xml Thu Jun 15 11:21:29 2006 @@ -14,18 +14,35 @@ </maintainer> </maintainers> <release> - <version>1.0.3</version> - <date>2006-05-22</date> + <version>1.1.0</version> + <date>2006-06-15</date> <license>BSD License</license> <state>stable</state> - <notes>- fixed unsigned handling and minor tweaks to type mapping in mapNativeDatatype() -- use emulated prepared statements on mysql 4.0 or lower -- added "emulate_prepared" option to force prepared statement emulation + <notes>- tweaked handling of free() for prepared statements +- return error if a prepared statement is attempted to be freed twice +- removed use of addslashes() for BLOB quoting + (this might result in SQL injection vulnerability) +- added setCharset() +- use setCharset() in connect()/_doConnect() +- set transaction enabled engine as default +- generalized quoteIdentifier() with a property +- use general implementation of quoteIdentifier() (Bug #7738) +- fixed warning in replace() if type is not set (Bug #7740) +- cosmetic performance tweak in getTableFieldDefinition() +- switched most array_key_exists() calls to !empty() to improve readability and performance +- fixed a few edge cases and potential warnings +- added ability to rewrite queries for query(), exec() and prepare() using a debug handler callback +- pass limit and offset to the result object constructor in _execute() for read statements +- check if result/connection has not yet been freed/dicsonnected before + attempting to free a result set(Bug #7790) +- fixed unbuffered query support +- revert change that would prefer 'clob' over 'text' for TEXT fields + (this was breaking runtime instrospection) </notes> <deps> <dep type="php" rel="ge" version="5.0.0" optional="no"/> <dep type="pkg" rel="ge" version="1.0b1" optional="no">PEAR</dep> - <dep type="pkg" rel="ge" version="2.0.3" optional="no">MDB2</dep> + <dep type="pkg" rel="ge" version="2.1.0" optional="no">MDB2</dep> <dep type="ext" rel="has" optional="no">mysqli</dep> </deps> <filelist> @@ -65,6 +82,33 @@ </release> <changelog> <release> + <version>1.1.0</version> + <date>2006-06-15</date> + <license>BSD License</license> + <state>stable</state> + <notes>- tweaked handling of free() for prepared statements +- return error if a prepared statement is attempted to be freed twice +- removed use of addslashes() for BLOB quoting + (this might result in SQL injection vulnerability) +- added setCharset() +- use setCharset() in connect()/_doConnect() +- set transaction enabled engine as default +- generalized quoteIdentifier() with a property +- use general implementation of quoteIdentifier() (Bug #7738) +- fixed warning in replace() if type is not set (Bug #7740) +- cosmetic performance tweak in getTableFieldDefinition() +- switched most array_key_exists() calls to !empty() to improve readability and performance +- fixed a few edge cases and potential warnings +- added ability to rewrite queries for query(), exec() and prepare() using a debug handler callback +- pass limit and offset to the result object constructor in _execute() for read statements +- check if result/connection has not yet been freed/dicsonnected before + attempting to free a result set(Bug #7790) +- fixed unbuffered query support +- revert change that would prefer 'clob' over 'text' for TEXT fields + (this was breaking runtime instrospection) + </notes> + </release> + <release> <version>1.0.3</version> <date>2006-05-22</date> <license>BSD License</license> http://cvs.php.net/viewcvs.cgi/pear/MDB2/package_mysql.xml?r1=1.24&r2=1.25&diff_format=u Index: pear/MDB2/package_mysql.xml diff -u pear/MDB2/package_mysql.xml:1.24 pear/MDB2/package_mysql.xml:1.25 --- pear/MDB2/package_mysql.xml:1.24 Mon May 22 10:18:05 2006 +++ pear/MDB2/package_mysql.xml Thu Jun 15 11:21:29 2006 @@ -14,19 +14,32 @@ </maintainer> </maintainers> <release> - <version>1.0.3</version> - <date>2006-05-22</date> + <version>1.1.0</version> + <date>2006-06-15</date> <license>BSD License</license> <state>stable</state> - <notes>- fixed unsigned handling and minor tweaks to type mapping in mapNativeDatatype() -- use emulated prepared statements on mysql 4.0 or lower -- properly quote query to prepare -- added "emulate_prepared" option to force prepared statement emulation + <notes>- tweaked handling of free() for prepared statements +- return error if a prepared statement is attempted to be freed twice +- added setCharset() +- use setCharset() in connect()/_doConnect() +- set transaction enabled engine as default +- generalized quoteIdentifier() with a property +- use general implementation of quoteIdentifier() (Bug #7738) +- fixed warning in replace() if type is not set (Bug #7740) +- cosmetic performance tweak in getTableFieldDefinition() +- switched most array_key_exists() calls to !empty() to improve readability and performance +- fixed a few edge cases and potential warnings +- added ability to rewrite queries for query(), exec() and prepare() using a debug handler callback +- pass limit and offset to the result object constructor in _execute() for read statements +- check if result/connection has not yet been freed/dicsonnected before + attempting to free a result set(Bug #7790) +- revert change that would prefer 'clob' over 'text' for TEXT fields + (this was breaking runtime instrospection) </notes> <deps> <dep type="php" rel="ge" version="4.3.0" optional="no"/> <dep type="pkg" rel="ge" version="1.0b1" optional="no">PEAR</dep> - <dep type="pkg" rel="ge" version="2.0.3" optional="no">MDB2</dep> + <dep type="pkg" rel="ge" version="2.1.0" optional="no">MDB2</dep> <dep type="ext" rel="has" optional="no">mysql</dep> </deps> <filelist> @@ -66,6 +79,30 @@ </release> <changelog> <release> + <version>1.1.0</version> + <date>2006-06-15</date> + <license>BSD License</license> + <state>stable</state> + <notes>- tweaked handling of free() for prepared statements +- return error if a prepared statement is attempted to be freed twice +- added setCharset() +- use setCharset() in connect()/_doConnect() +- set transaction enabled engine as default +- generalized quoteIdentifier() with a property +- use general implementation of quoteIdentifier() (Bug #7738) +- fixed warning in replace() if type is not set (Bug #7740) +- cosmetic performance tweak in getTableFieldDefinition() +- switched most array_key_exists() calls to !empty() to improve readability and performance +- fixed a few edge cases and potential warnings +- added ability to rewrite queries for query(), exec() and prepare() using a debug handler callback +- pass limit and offset to the result object constructor in _execute() for read statements +- check if result/connection has not yet been freed/dicsonnected before + attempting to free a result set(Bug #7790) +- revert change that would prefer 'clob' over 'text' for TEXT fields + (this was breaking runtime instrospection) + </notes> + </release> + <release> <version>1.0.3</version> <date>2006-05-22</date> <license>BSD License</license> http://cvs.php.net/viewcvs.cgi/pear/MDB2/package.xml?r1=1.63&r2=1.64&diff_format=u Index: pear/MDB2/package.xml diff -u pear/MDB2/package.xml:1.63 pear/MDB2/package.xml:1.64 --- pear/MDB2/package.xml:1.63 Mon May 22 10:18:05 2006 +++ pear/MDB2/package.xml Thu Jun 15 11:21:29 2006 @@ -66,19 +66,37 @@ </maintainer> </maintainers> <release> - <version>2.0.3</version> - <date>2006-05-22</date> + <version>2.1.0</version> + <date>2006-06-15</date> <license>BSD License</license> <state>stable</state> - <notes>- fix float/decimal handling (Request #3021) -- default to decimal for double (instead of float) -- serialize arrays when no type is explicitly given -- phpdoc fixes -- expanded FLOAT test -- added support for identifier quoting (Request #7671) -- added test class for the Extended module -- added support for DELETE in auto*() methods (Request #5345) -- added "emulate_prepared" option to force prepared statement emulation + <notes>- removed bogus code from execute() +- new test case for floats/decimals and locale +- reworked fix for float/decimal handling +- expanded scientific notation handling +- fixed several minor issues with the datatype tests +- removed use of "*" in all places in the test suite that are followed by a fetch +- tweaked handling of free() for prepared statements +- return error if a prepared statement is attempted to be free'ed or executed again +- added result_wrap_class param to limitQuery() +- added parameter to not quote return value of getBeforeId() +- added setCharset() +- enable transactions by default +- added decimal reverse engineering test +- fixed parameter order in assertions in reverse engineering fields tests +- generalized quoteIdentifier() with a property +- switched most array_key_exists() calls to !empty() to improve readability and performance +- fixed a few edge cases and potential warnings +- added ability to rewrite queries for query(), exec() and prepare() using a debug handler callback +- added 'datatype_map' option (Request #7797) +- added reverse parameter to getColumnNames() +- added 'datatype_map_callback' option +- added getValidTypes() method to handle additional types from the 'datatype_map' option +- set last_query in _execute() to prepared statement (Bug #7856) +- adding random function emulation to generate a float between 0 and 1 +- explicitly fetch row id = 1 in LOB tests +- cosmetic fix to prepare() (Bug #7883) +- bumped PHP dependency to 4.3.2 because of LOB stream support open todo items: - handle autoincrement fields in alterTable() @@ -87,7 +105,7 @@ - add length handling to LOB reverse engineering </notes> <deps> - <dep type="php" rel="ge" version="4.3.0" optional="no"/> + <dep type="php" rel="ge" version="4.3.2" optional="no"/> <dep type="pkg" rel="ge" version="1.3.6" optional="no">PEAR</dep> </deps> <filelist> @@ -235,6 +253,46 @@ </release> <changelog> <release> + <version>2.1.0</version> + <date>2006-06-15</date> + <license>BSD License</license> + <state>stable</state> + <notes>- removed bogus code from execute() +- new test case for floats/decimals and locale +- reworked fix for float/decimal handling +- expanded scientific notation handling +- fixed several minor issues with the datatype tests +- removed use of "*" in all places in the test suite that are followed by a fetch +- tweaked handling of free() for prepared statements +- return error if a prepared statement is attempted to be free'ed or executed again +- added result_wrap_class param to limitQuery() +- added parameter to not quote return value of getBeforeId() +- added setCharset() +- enable transactions by default +- added decimal reverse engineering test +- fixed parameter order in assertions in reverse engineering fields tests +- generalized quoteIdentifier() with a property +- switched most array_key_exists() calls to !empty() to improve readability and performance +- fixed a few edge cases and potential warnings +- added ability to rewrite queries for query(), exec() and prepare() using a debug handler callback +- added 'datatype_map' option (Request #7797) +- added reverse parameter to getColumnNames() +- added 'datatype_map_callback' option +- added getValidTypes() method to handle additional types from the 'datatype_map' option +- set last_query in _execute() to prepared statement (Bug #7856) +- adding random function emulation to generate a float between 0 and 1 +- explicitly fetch row id = 1 in LOB tests +- cosmetic fix to prepare() (Bug #7883) +- bumped PHP dependency to 4.3.2 because of LOB stream support + +open todo items: +- handle autoincrement fields in alterTable() +- add support for ADODB style "smart transactions": + http://phplens.com/lens/adodb/docs-adodb.htm#ex11 +- add length handling to LOB reverse engineering + </notes> + </release> + <release> <version>2.0.3</version> <date>2006-05-22</date> <license>BSD License</license> http://cvs.php.net/viewcvs.cgi/pear/MDB2/package.php?r1=1.166&r2=1.167&diff_format=u Index: pear/MDB2/package.php diff -u pear/MDB2/package.php:1.166 pear/MDB2/package.php:1.167 --- pear/MDB2/package.php:1.166 Thu Jun 15 07:28:57 2006 +++ pear/MDB2/package.php Thu Jun 15 11:21:29 2006 @@ -30,6 +30,7 @@ - adding random function emulation to generate a float between 0 and 1 - explicitly fetch row id = 1 in LOB tests - cosmetic fix to prepare() (Bug #7883) +- bumped PHP dependency to 4.3.2 because of LOB stream support open todo items: - handle autoincrement fields in alterTable()
http://cvs.php.net/viewcvs.cgi/pear/MDB2/package_sqlite.xml?r1=1.24&r2=1.25&diff_format=u Index: pear/MDB2/package_sqlite.xml diff -u pear/MDB2/package_sqlite.xml:1.24 pear/MDB2/package_sqlite.xml:1.25 --- pear/MDB2/package_sqlite.xml:1.24 Sun May 14 06:22:42 2006 +++ pear/MDB2/package_sqlite.xml Thu Jun 15 11:21:29 2006 @@ -14,18 +14,20 @@ </maintainer> </maintainers> <release> - <version>1.0.2</version> - <date>2006-05-14</date> + <version>1.1.0</version> + <date>2006-06-15</date> <license>BSD License</license> <state>stable</state> - <notes>- explicitly set is_manip parameter to false for transaction debug calls -- added ability to hint that a constraint is a primary key in dropConstraint() -- typo fixes in phpdoc (thx Stoyan) -- added support for fixed and variable types for 'text' in declarations, - as well as in reverse engineering (Request #1523) -- made _doQuery() return a reference -- added userinfo's to all raiseError calls that previously had none -- added 'prepared_statements' supported meta data setting + <notes>- fixed unsigned handling in mapNativeDatatype() +- use setCharset() in connect()/_doConnect() +- generalized quoteIdentifier() with a property +- fixed warning in replace() if type is not set (Bug #7740) +- cosmetic performance tweak in getTableFieldDefinition() +- switched most array_key_exists() calls to !empty() to improve readability and performance +- fixed a few edge cases and potential warnings +- added ability to rewrite queries for query(), exec() and prepare() using a debug handler callback +- revert change that would prefer 'clob' over 'text' for TEXT fields + (this was breaking runtime instrospection) open todo items: - a number of the manager test cases fail because sqlite does not support adding @@ -37,7 +39,7 @@ <deps> <dep type="php" rel="ge" version="4.3.0" optional="no"/> <dep type="pkg" rel="ge" version="1.0b1" optional="no">PEAR</dep> - <dep type="pkg" rel="ge" version="2.0.1" optional="no">MDB2</dep> + <dep type="pkg" rel="ge" version="2.1.0" optional="no">MDB2</dep> <dep type="ext" rel="has" optional="no">sqlite</dep> </deps> <filelist> @@ -77,6 +79,30 @@ </release> <changelog> <release> + <version>1.1.0</version> + <date>2006-06-15</date> + <license>BSD License</license> + <state>stable</state> + <notes>- fixed unsigned handling in mapNativeDatatype() +- use setCharset() in connect()/_doConnect() +- generalized quoteIdentifier() with a property +- fixed warning in replace() if type is not set (Bug #7740) +- cosmetic performance tweak in getTableFieldDefinition() +- switched most array_key_exists() calls to !empty() to improve readability and performance +- fixed a few edge cases and potential warnings +- added ability to rewrite queries for query(), exec() and prepare() using a debug handler callback +- revert change that would prefer 'clob' over 'text' for TEXT fields + (this was breaking runtime instrospection) + +open todo items: +- a number of the manager test cases fail because sqlite does not support adding + primary keys to existing tables +- the alter table tests fails because this is unsupported in sqlite2 +- the test replace test fails because sqlite reports an incorrect affected rows + value when no existing data was replaced + </notes> + </release> + <release> <version>1.0.2</version> <date>2006-05-14</date> <license>BSD License</license> http://cvs.php.net/viewcvs.cgi/pear/MDB2/package_querysim.xml?r1=1.18&r2=1.19&diff_format=u Index: pear/MDB2/package_querysim.xml diff -u pear/MDB2/package_querysim.xml:1.18 pear/MDB2/package_querysim.xml:1.19 --- pear/MDB2/package_querysim.xml:1.18 Sun May 14 06:22:42 2006 +++ pear/MDB2/package_querysim.xml Thu Jun 15 11:21:29 2006 @@ -14,14 +14,15 @@ </maintainer> </maintainers> <release> - <version>0.2.3</version> - <date>2006-05-14</date> + <version>0.3.0</version> + <date>2006-06-15</date> <license>BSD License</license> <state>beta</state> - <notes>- typo fixes in phpdoc (thx Stoyan) -- made _doQuery() return a reference -- added userinfo's to all raiseError calls that previously had none -- added 'prepared_statements' supported meta data setting + <notes>- use setCharset() in connect()/_doConnect() +- generalized quoteIdentifier() with a property +- switched most array_key_exists() calls to !empty() to improve readability and performance +- fixed a few edge cases and potential warnings +- added ability to rewrite queries for query(), exec() and prepare() using a debug handler callback open todo items: - add ability to reference multiple results set files for different queries @@ -29,7 +30,7 @@ <deps> <dep type="php" rel="ge" version="4.3.0" optional="no"/> <dep type="pkg" rel="ge" version="1.0b1" optional="no">PEAR</dep> - <dep type="pkg" rel="ge" version="2.0.0RC1" optional="no">MDB2</dep> + <dep type="pkg" rel="ge" version="2.1.0" optional="no">MDB2</dep> </deps> <filelist> <dir name="/" baseinstalldir="/"> @@ -58,6 +59,21 @@ </release> <changelog> <release> + <version>0.3.0</version> + <date>2006-06-15</date> + <license>BSD License</license> + <state>beta</state> + <notes>- use setCharset() in connect()/_doConnect() +- generalized quoteIdentifier() with a property +- switched most array_key_exists() calls to !empty() to improve readability and performance +- fixed a few edge cases and potential warnings +- added ability to rewrite queries for query(), exec() and prepare() using a debug handler callback + +open todo items: +- add ability to reference multiple results set files for different queries + </notes> + </release> + <release> <version>0.2.3</version> <date>2006-05-14</date> <license>BSD License</license> http://cvs.php.net/viewcvs.cgi/pear/MDB2/package_pgsql.xml?r1=1.28&r2=1.29&diff_format=u Index: pear/MDB2/package_pgsql.xml diff -u pear/MDB2/package_pgsql.xml:1.28 pear/MDB2/package_pgsql.xml:1.29 --- pear/MDB2/package_pgsql.xml:1.28 Wed May 24 16:27:34 2006 +++ pear/MDB2/package_pgsql.xml Thu Jun 15 11:21:29 2006 @@ -14,19 +14,33 @@ </maintainer> </maintainers> <release> - <version>1.0.3</version> - <date>2006-05-24</date> + <version>1.1.0</version> + <date>2006-06-15</date> <license>BSD License</license> <state>stable</state> - <notes>SECURITY FIX (http://www.postgresql.org/docs/techdocs.50) -- use pg_escape_string() -- use "'" as the escape character -- limit fetch to 1 row in listTableFields() + <notes>- added setCharset() +- use setCharset() in connect()/_doConnect() +- generalized quoteIdentifier() with a property +- switched most array_key_exists() calls to !empty() to improve readability and performance +- fixed a few edge cases and potential warnings +- return error when changing datatypes in alterTable() on pgsql version lower than 8.x (Bug #7731) +- added ability to rewrite queries for query(), exec() and prepare() using a debug handler callback +- fixed missing error handling in getTableFieldDefinition() (Bug #7791) +- pass limit and offset to the result object constructor in _execute() for read statements +- use pg_prepare() if available so that we do not need to define the types anymore (Request #7797) +- added code to use pg_execute() but disabled due to issues with bytea fields +- check if result/connection has not yet been freed/dicsonnected before + attempting to free a result set(Bug #7790) +- revert change that would prefer 'clob' over 'text' for TEXT fields + (this was breaking runtime instrospection) + +open todo items: +- enable pg_execute() once issues with bytea column are resolved </notes> <deps> <dep type="php" rel="ge" version="4.3.0" optional="no"/> <dep type="pkg" rel="ge" version="1.0b1" optional="no">PEAR</dep> - <dep type="pkg" rel="ge" version="2.0.3" optional="no">MDB2</dep> + <dep type="pkg" rel="ge" version="2.1.0" optional="no">MDB2</dep> <dep type="ext" rel="has" optional="no">pgsql</dep> </deps> <filelist> @@ -66,6 +80,31 @@ </release> <changelog> <release> + <version>1.1.0</version> + <date>2006-06-15</date> + <license>BSD License</license> + <state>stable</state> + <notes>- added setCharset() +- use setCharset() in connect()/_doConnect() +- generalized quoteIdentifier() with a property +- switched most array_key_exists() calls to !empty() to improve readability and performance +- fixed a few edge cases and potential warnings +- return error when changing datatypes in alterTable() on pgsql version lower than 8.x (Bug #7731) +- added ability to rewrite queries for query(), exec() and prepare() using a debug handler callback +- fixed missing error handling in getTableFieldDefinition() (Bug #7791) +- pass limit and offset to the result object constructor in _execute() for read statements +- use pg_prepare() if available so that we do not need to define the types anymore (Request #7797) +- added code to use pg_execute() but disabled due to issues with bytea fields +- check if result/connection has not yet been freed/dicsonnected before + attempting to free a result set(Bug #7790) +- revert change that would prefer 'clob' over 'text' for TEXT fields + (this was breaking runtime instrospection) + +open todo items: +- enable pg_execute() once issues with bytea column are resolved + </notes> + </release> + <release> <version>1.0.3</version> <date>2006-05-24</date> <license>BSD License</license> http://cvs.php.net/viewcvs.cgi/pear/MDB2/package_oci8.xml?r1=1.26&r2=1.27&diff_format=u Index: pear/MDB2/package_oci8.xml diff -u pear/MDB2/package_oci8.xml:1.26 pear/MDB2/package_oci8.xml:1.27 --- pear/MDB2/package_oci8.xml:1.26 Sun May 14 06:22:42 2006 +++ pear/MDB2/package_oci8.xml Thu Jun 15 11:21:29 2006 @@ -20,40 +20,39 @@ </maintainer> </maintainers> <release> - <version>0.2.6</version> - <date>2006-05-14</date> + <version>0.3.0</version> + <date>2006-06-15</date> <license>BSD License</license> <state>beta</state> - <notes>- explicitly set is_manip parameter to false for transaction debug calls -- pass parameter array as debug() all with scope "parameters" in every execute() - call (bug #4119) -- typo fixes in phpdoc (thx Stoyan) -- added support for fixed and variable types for 'text' in declarations, - as well as in reverse engineering (Request #1523) -- made _doQuery() return a reference -- added userinfo's to all raiseError calls that previously had none -- allow using the database name in the SID generation -- only support createDatabase(), dropDatabase() and listDatabases() - if emulate_database is enabled -- added 'prepared_statements' supported meta data setting -- fixed issue in prepare() with parsing of ? type placeholders for LOBs -- strip of file:// prefix in writeLOBToFile() -- typo fix ressource/resource in LOB array -- do not use foreach() on lob descriptor reference array -- marked primary key as supported -- fix DSN handling in _doConnect() (Bug #4104) -- seek(0) after calling load()/writetofile() -- fixed _destroyLOB() API to match other private LOB methods -- fixed phpdoc comments of all private LOB methods + <notes>- added "emulate_prepared" option to force prepared statement emulation +- tweaked handling of free() for prepared statements +- return error if a prepared statement is attempted to be freed twice +- use setCharset() in connect()/_doConnect() +- fixed number length handling when reverse engineering numeric types +- generalized quoteIdentifier() with a property +- cosmetic performance tweak in getTableFieldDefinition() +- switched most array_key_exists() calls to !empty() to improve readability and performance +- fixed a few edge cases and potential warnings +- added ability to rewrite queries for query(), exec() and prepare() using a debug handler callback +- pass limit and offset to the result object constructor in _execute() for read statements +- optmized limit queries without offset +- make sure no additional fields are added due to using limit/offset +- check if result/connection has not yet been freed/dicsonnected before + attempting to free a result set(Bug #7790) +- fixed small typo with 'clob' reverse engineering + +note: please use the latest ext/oci8 version from pecl.php.net/oci8 +(binaries are available from snaps.php.net and pecl4win.php.net) open todo items: - fix issues with testcreateautoincrementtable (error on sequence creation) - ensure that all primary/unique/foreign key handling is only in the contraint methods +- enable use of read() for LOBs to read a LOB in chunks </notes> <deps> <dep type="php" rel="ge" version="4.3.0" optional="no"/> <dep type="pkg" rel="ge" version="1.0b1" optional="no">PEAR</dep> - <dep type="pkg" rel="ge" version="2.0.1" optional="no">MDB2</dep> + <dep type="pkg" rel="ge" version="2.1.0" optional="no">MDB2</dep> <dep type="ext" rel="has" optional="no">oci8</dep> </deps> <filelist> @@ -93,6 +92,37 @@ </release> <changelog> <release> + <version>0.3.0</version> + <date>2006-06-15</date> + <license>BSD License</license> + <state>beta</state> + <notes>- added "emulate_prepared" option to force prepared statement emulation +- tweaked handling of free() for prepared statements +- return error if a prepared statement is attempted to be freed twice +- use setCharset() in connect()/_doConnect() +- fixed number length handling when reverse engineering numeric types +- generalized quoteIdentifier() with a property +- cosmetic performance tweak in getTableFieldDefinition() +- switched most array_key_exists() calls to !empty() to improve readability and performance +- fixed a few edge cases and potential warnings +- added ability to rewrite queries for query(), exec() and prepare() using a debug handler callback +- pass limit and offset to the result object constructor in _execute() for read statements +- optmized limit queries without offset +- make sure no additional fields are added due to using limit/offset +- check if result/connection has not yet been freed/dicsonnected before + attempting to free a result set(Bug #7790) +- fixed small typo with 'clob' reverse engineering + +note: please use the latest ext/oci8 version from pecl.php.net/oci8 +(binaries are available from snaps.php.net and pecl4win.php.net) + +open todo items: +- fix issues with testcreateautoincrementtable (error on sequence creation) +- ensure that all primary/unique/foreign key handling is only in the contraint methods +- enable use of read() for LOBs to read a LOB in chunks + </notes> + </release> + <release> <version>0.2.6</version> <date>2006-05-14</date> <license>BSD License</license> http://cvs.php.net/viewcvs.cgi/pear/MDB2/package_mysqli.xml?r1=1.27&r2=1.28&diff_format=u Index: pear/MDB2/package_mysqli.xml diff -u pear/MDB2/package_mysqli.xml:1.27 pear/MDB2/package_mysqli.xml:1.28 --- pear/MDB2/package_mysqli.xml:1.27 Mon May 22 10:18:05 2006 +++ pear/MDB2/package_mysqli.xml Thu Jun 15 11:21:29 2006 @@ -14,18 +14,35 @@ </maintainer> </maintainers> <release> - <version>1.0.3</version> - <date>2006-05-22</date> + <version>1.1.0</version> + <date>2006-06-15</date> <license>BSD License</license> <state>stable</state> - <notes>- fixed unsigned handling and minor tweaks to type mapping in mapNativeDatatype() -- use emulated prepared statements on mysql 4.0 or lower -- added "emulate_prepared" option to force prepared statement emulation + <notes>- tweaked handling of free() for prepared statements +- return error if a prepared statement is attempted to be freed twice +- removed use of addslashes() for BLOB quoting + (this might result in SQL injection vulnerability) +- added setCharset() +- use setCharset() in connect()/_doConnect() +- set transaction enabled engine as default +- generalized quoteIdentifier() with a property +- use general implementation of quoteIdentifier() (Bug #7738) +- fixed warning in replace() if type is not set (Bug #7740) +- cosmetic performance tweak in getTableFieldDefinition() +- switched most array_key_exists() calls to !empty() to improve readability and performance +- fixed a few edge cases and potential warnings +- added ability to rewrite queries for query(), exec() and prepare() using a debug handler callback +- pass limit and offset to the result object constructor in _execute() for read statements +- check if result/connection has not yet been freed/dicsonnected before + attempting to free a result set(Bug #7790) +- fixed unbuffered query support +- revert change that would prefer 'clob' over 'text' for TEXT fields + (this was breaking runtime instrospection) </notes> <deps> <dep type="php" rel="ge" version="5.0.0" optional="no"/> <dep type="pkg" rel="ge" version="1.0b1" optional="no">PEAR</dep> - <dep type="pkg" rel="ge" version="2.0.3" optional="no">MDB2</dep> + <dep type="pkg" rel="ge" version="2.1.0" optional="no">MDB2</dep> <dep type="ext" rel="has" optional="no">mysqli</dep> </deps> <filelist> @@ -65,6 +82,33 @@ </release> <changelog> <release> + <version>1.1.0</version> + <date>2006-06-15</date> + <license>BSD License</license> + <state>stable</state> + <notes>- tweaked handling of free() for prepared statements +- return error if a prepared statement is attempted to be freed twice +- removed use of addslashes() for BLOB quoting + (this might result in SQL injection vulnerability) +- added setCharset() +- use setCharset() in connect()/_doConnect() +- set transaction enabled engine as default +- generalized quoteIdentifier() with a property +- use general implementation of quoteIdentifier() (Bug #7738) +- fixed warning in replace() if type is not set (Bug #7740) +- cosmetic performance tweak in getTableFieldDefinition() +- switched most array_key_exists() calls to !empty() to improve readability and performance +- fixed a few edge cases and potential warnings +- added ability to rewrite queries for query(), exec() and prepare() using a debug handler callback +- pass limit and offset to the result object constructor in _execute() for read statements +- check if result/connection has not yet been freed/dicsonnected before + attempting to free a result set(Bug #7790) +- fixed unbuffered query support +- revert change that would prefer 'clob' over 'text' for TEXT fields + (this was breaking runtime instrospection) + </notes> + </release> + <release> <version>1.0.3</version> <date>2006-05-22</date> <license>BSD License</license> http://cvs.php.net/viewcvs.cgi/pear/MDB2/package_mysql.xml?r1=1.24&r2=1.25&diff_format=u Index: pear/MDB2/package_mysql.xml diff -u pear/MDB2/package_mysql.xml:1.24 pear/MDB2/package_mysql.xml:1.25 --- pear/MDB2/package_mysql.xml:1.24 Mon May 22 10:18:05 2006 +++ pear/MDB2/package_mysql.xml Thu Jun 15 11:21:29 2006 @@ -14,19 +14,32 @@ </maintainer> </maintainers> <release> - <version>1.0.3</version> - <date>2006-05-22</date> + <version>1.1.0</version> + <date>2006-06-15</date> <license>BSD License</license> <state>stable</state> - <notes>- fixed unsigned handling and minor tweaks to type mapping in mapNativeDatatype() -- use emulated prepared statements on mysql 4.0 or lower -- properly quote query to prepare -- added "emulate_prepared" option to force prepared statement emulation + <notes>- tweaked handling of free() for prepared statements +- return error if a prepared statement is attempted to be freed twice +- added setCharset() +- use setCharset() in connect()/_doConnect() +- set transaction enabled engine as default +- generalized quoteIdentifier() with a property +- use general implementation of quoteIdentifier() (Bug #7738) +- fixed warning in replace() if type is not set (Bug #7740) +- cosmetic performance tweak in getTableFieldDefinition() +- switched most array_key_exists() calls to !empty() to improve readability and performance +- fixed a few edge cases and potential warnings +- added ability to rewrite queries for query(), exec() and prepare() using a debug handler callback +- pass limit and offset to the result object constructor in _execute() for read statements +- check if result/connection has not yet been freed/dicsonnected before + attempting to free a result set(Bug #7790) +- revert change that would prefer 'clob' over 'text' for TEXT fields + (this was breaking runtime instrospection) </notes> <deps> <dep type="php" rel="ge" version="4.3.0" optional="no"/> <dep type="pkg" rel="ge" version="1.0b1" optional="no">PEAR</dep> - <dep type="pkg" rel="ge" version="2.0.3" optional="no">MDB2</dep> + <dep type="pkg" rel="ge" version="2.1.0" optional="no">MDB2</dep> <dep type="ext" rel="has" optional="no">mysql</dep> </deps> <filelist> @@ -66,6 +79,30 @@ </release> <changelog> <release> + <version>1.1.0</version> + <date>2006-06-15</date> + <license>BSD License</license> + <state>stable</state> + <notes>- tweaked handling of free() for prepared statements +- return error if a prepared statement is attempted to be freed twice +- added setCharset() +- use setCharset() in connect()/_doConnect() +- set transaction enabled engine as default +- generalized quoteIdentifier() with a property +- use general implementation of quoteIdentifier() (Bug #7738) +- fixed warning in replace() if type is not set (Bug #7740) +- cosmetic performance tweak in getTableFieldDefinition() +- switched most array_key_exists() calls to !empty() to improve readability and performance +- fixed a few edge cases and potential warnings +- added ability to rewrite queries for query(), exec() and prepare() using a debug handler callback +- pass limit and offset to the result object constructor in _execute() for read statements +- check if result/connection has not yet been freed/dicsonnected before + attempting to free a result set(Bug #7790) +- revert change that would prefer 'clob' over 'text' for TEXT fields + (this was breaking runtime instrospection) + </notes> + </release> + <release> <version>1.0.3</version> <date>2006-05-22</date> <license>BSD License</license> http://cvs.php.net/viewcvs.cgi/pear/MDB2/package.xml?r1=1.63&r2=1.64&diff_format=u Index: pear/MDB2/package.xml diff -u pear/MDB2/package.xml:1.63 pear/MDB2/package.xml:1.64 --- pear/MDB2/package.xml:1.63 Mon May 22 10:18:05 2006 +++ pear/MDB2/package.xml Thu Jun 15 11:21:29 2006 @@ -66,19 +66,37 @@ </maintainer> </maintainers> <release> - <version>2.0.3</version> - <date>2006-05-22</date> + <version>2.1.0</version> + <date>2006-06-15</date> <license>BSD License</license> <state>stable</state> - <notes>- fix float/decimal handling (Request #3021) -- default to decimal for double (instead of float) -- serialize arrays when no type is explicitly given -- phpdoc fixes -- expanded FLOAT test -- added support for identifier quoting (Request #7671) -- added test class for the Extended module -- added support for DELETE in auto*() methods (Request #5345) -- added "emulate_prepared" option to force prepared statement emulation + <notes>- removed bogus code from execute() +- new test case for floats/decimals and locale +- reworked fix for float/decimal handling +- expanded scientific notation handling +- fixed several minor issues with the datatype tests +- removed use of "*" in all places in the test suite that are followed by a fetch +- tweaked handling of free() for prepared statements +- return error if a prepared statement is attempted to be free'ed or executed again +- added result_wrap_class param to limitQuery() +- added parameter to not quote return value of getBeforeId() +- added setCharset() +- enable transactions by default +- added decimal reverse engineering test +- fixed parameter order in assertions in reverse engineering fields tests +- generalized quoteIdentifier() with a property +- switched most array_key_exists() calls to !empty() to improve readability and performance +- fixed a few edge cases and potential warnings +- added ability to rewrite queries for query(), exec() and prepare() using a debug handler callback +- added 'datatype_map' option (Request #7797) +- added reverse parameter to getColumnNames() +- added 'datatype_map_callback' option +- added getValidTypes() method to handle additional types from the 'datatype_map' option +- set last_query in _execute() to prepared statement (Bug #7856) +- adding random function emulation to generate a float between 0 and 1 +- explicitly fetch row id = 1 in LOB tests +- cosmetic fix to prepare() (Bug #7883) +- bumped PHP dependency to 4.3.2 because of LOB stream support open todo items: - handle autoincrement fields in alterTable() @@ -87,7 +105,7 @@ - add length handling to LOB reverse engineering </notes> <deps> - <dep type="php" rel="ge" version="4.3.0" optional="no"/> + <dep type="php" rel="ge" version="4.3.2" optional="no"/> <dep type="pkg" rel="ge" version="1.3.6" optional="no">PEAR</dep> </deps> <filelist> @@ -235,6 +253,46 @@ </release> <changelog> <release> + <version>2.1.0</version> + <date>2006-06-15</date> + <license>BSD License</license> + <state>stable</state> + <notes>- removed bogus code from execute() +- new test case for floats/decimals and locale +- reworked fix for float/decimal handling +- expanded scientific notation handling +- fixed several minor issues with the datatype tests +- removed use of "*" in all places in the test suite that are followed by a fetch +- tweaked handling of free() for prepared statements +- return error if a prepared statement is attempted to be free'ed or executed again +- added result_wrap_class param to limitQuery() +- added parameter to not quote return value of getBeforeId() +- added setCharset() +- enable transactions by default +- added decimal reverse engineering test +- fixed parameter order in assertions in reverse engineering fields tests +- generalized quoteIdentifier() with a property +- switched most array_key_exists() calls to !empty() to improve readability and performance +- fixed a few edge cases and potential warnings +- added ability to rewrite queries for query(), exec() and prepare() using a debug handler callback +- added 'datatype_map' option (Request #7797) +- added reverse parameter to getColumnNames() +- added 'datatype_map_callback' option +- added getValidTypes() method to handle additional types from the 'datatype_map' option +- set last_query in _execute() to prepared statement (Bug #7856) +- adding random function emulation to generate a float between 0 and 1 +- explicitly fetch row id = 1 in LOB tests +- cosmetic fix to prepare() (Bug #7883) +- bumped PHP dependency to 4.3.2 because of LOB stream support + +open todo items: +- handle autoincrement fields in alterTable() +- add support for ADODB style "smart transactions": + http://phplens.com/lens/adodb/docs-adodb.htm#ex11 +- add length handling to LOB reverse engineering + </notes> + </release> + <release> <version>2.0.3</version> <date>2006-05-22</date> <license>BSD License</license> http://cvs.php.net/viewcvs.cgi/pear/MDB2/package.php?r1=1.166&r2=1.167&diff_format=u Index: pear/MDB2/package.php diff -u pear/MDB2/package.php:1.166 pear/MDB2/package.php:1.167 --- pear/MDB2/package.php:1.166 Thu Jun 15 07:28:57 2006 +++ pear/MDB2/package.php Thu Jun 15 11:21:29 2006 @@ -30,6 +30,7 @@ - adding random function emulation to generate a float between 0 and 1 - explicitly fetch row id = 1 in LOB tests - cosmetic fix to prepare() (Bug #7883) +- bumped PHP dependency to 4.3.2 because of LOB stream support open todo items: - handle autoincrement fields in alterTable()