Skip to content

Commit

Permalink
- prepare for release
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.php.net/repository/pear/packages/MDB2/trunk@213521 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information
Lukas Smith committed May 22, 2006
1 parent 0279c77 commit 9fc58be
Show file tree
Hide file tree
Showing 6 changed files with 90 additions and 82 deletions.
11 changes: 10 additions & 1 deletion package.php
Expand Up @@ -2,8 +2,17 @@

require_once 'PEAR/PackageFileManager.php';

$version = 'XXX';
$version = '2.0.3';
$notes = <<<EOT
- 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
open todo items:
- handle autoincrement fields in alterTable()
Expand Down
77 changes: 37 additions & 40 deletions package.xml
Expand Up @@ -66,53 +66,25 @@ portability. Among other things MDB2 features:
</maintainer>
</maintainers>
<release>
<version>2.0.2</version>
<date>2006-05-14</date>
<version>2.0.3</version>
<date>2006-05-22</date>
<license>BSD License</license>
<state>stable</state>
<notes>- phpdoc and folding mark fixes (thx Laurent and Stoyan)
- added getTriggerDefinition() in the Reverse module
- added listTableViews() in the Manager module
- explicitly set is_manip parameter to false for transaction debug calls
- various minor tweaks to error messages, phpdoc and adding stub methods to the
common driver
- added row seeking support to fetchOne()
- added ability to hint that a constraint is a primary key in dropConstraint()
- since we no longer complain about primary keys not being called primary we can
remove the necessary hacks in the test suite
- improved LOB tests in the test suite
- do not require Manager module for core API tests
- added support for fixed and variable types for &apos;text&apos; in declarations,
as well as in reverse engineering (Request #1523)
- updated MAINTAINERS to current status
- readded STATUS document, still needs to be filled with content
- tweaked handling of error objects inside raiseError()
- made _doQuery() return a reference
- added userinfo&apos;s to all raiseError calls that previously had none
- added bindValueArray()
- use bindValueArray() instead of bindParamArray() in all internal calls
- removed the skeleton drivers, since its too much work to maintain them
and there are plenty of sample drivers to look at
- fixed example due to API change in MDB2_Schema (Bug #7575)
- added &apos;prepared_statements&apos; supported meta data setting
- do not retrieve lob in the stream constructor and streams_eof()
- strip of file:// prefix in writeLOBToFile()
- typo fix ressource/resource in LOB array
- removed lob property from the LOB streams wrapper (references are always
shaky business in PHP so lets use them as little as possible)
- fixed _destroyLOB() API to match other private LOB methods
- fixed phpdoc comments of all private LOB methods
- typo fix in autoincrement test
- reworked index/constraint creation to not affected unnecessary reverse tests

Note: Due to changes in generation of declaration statements you may need to
update your test databases (for example by rerunning the MDB2_Schema
installation using the CVS version or a release greater than 0.5.0)
<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 &quot;emulate_prepared&quot; option to force prepared statement emulation

open todo items:
- handle autoincrement fields in alterTable()
- add support for ADODB style &quot;smart transactions&quot;:
http://phplens.com/lens/adodb/docs-adodb.htm#ex11
- add length handling to LOB reverse engineering
</notes>
<deps>
<dep type="php" rel="ge" version="4.3.0" optional="no"/>
Expand Down Expand Up @@ -215,6 +187,9 @@ open todo items:
<file role="test" name="MDB2_datatype_testcase.php">
<replace type="package-info" from="@package_version@" to="version"/>
</file>
<file role="test" name="MDB2_extended_testcase.php">
<replace type="package-info" from="@package_version@" to="version"/>
</file>
<file role="test" name="MDB2_function_testcase.php">
<replace type="package-info" from="@package_version@" to="version"/>
</file>
Expand Down Expand Up @@ -259,6 +234,28 @@ open todo items:
</filelist>
</release>
<changelog>
<release>
<version>2.0.3</version>
<date>2006-05-22</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 &quot;emulate_prepared&quot; option to force prepared statement emulation

open todo items:
- handle autoincrement fields in alterTable()
- add support for ADODB style &quot;smart transactions&quot;:
http://phplens.com/lens/adodb/docs-adodb.htm#ex11
- add length handling to LOB reverse engineering
</notes>
</release>
<release>
<version>2.0.2</version>
<date>2006-05-14</date>
Expand Down
7 changes: 5 additions & 2 deletions package_mysql.php
Expand Up @@ -2,9 +2,12 @@

require_once 'PEAR/PackageFileManager.php';

$version = 'XXX';
$version = '1.0.3';
$notes = <<<EOT
- 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
EOT;

$package = new PEAR_PackageFileManager();
Expand Down Expand Up @@ -44,7 +47,7 @@

$package->addDependency('php', '4.3.0', 'ge', 'php', false);
$package->addDependency('PEAR', '1.0b1', 'ge', 'pkg', false);
$package->addDependency('MDB2', '2.0.2', 'ge', 'pkg', false);
$package->addDependency('MDB2', '2.0.3', 'ge', 'pkg', false);
$package->addDependency('mysql', null, 'has', 'ext', false);

$package->addglobalreplacement('package-info', '@package_version@', 'version');
Expand Down
34 changes: 18 additions & 16 deletions package_mysql.xml
Expand Up @@ -14,28 +14,19 @@
</maintainer>
</maintainers>
<release>
<version>1.0.2</version>
<date>2006-05-14</date>
<version>1.0.3</version>
<date>2006-05-22</date>
<license>BSD License</license>
<state>stable</state>
<notes>- optimized listTables() and listViews()
- optimized show related queries
- explicitly set is_manip parameter to false for transaction debug calls
- silently change name of primary key contraints to PRIMARY
- 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 &apos;text&apos; in declarations,
as well as in reverse engineering (Request #1523)
- made _doQuery() return a reference
- added userinfo&apos;s to all raiseError calls that previously had none
- use native prepared queries of mysql 4.1 or higher
- added &apos;prepared_statements&apos; supported meta data setting
- added missing supported parameter to prepare() signature
<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 &quot;emulate_prepared&quot; option to force prepared statement emulation
</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.0.3" optional="no">MDB2</dep>
<dep type="ext" rel="has" optional="no">mysql</dep>
</deps>
<filelist>
Expand Down Expand Up @@ -74,6 +65,17 @@
</filelist>
</release>
<changelog>
<release>
<version>1.0.3</version>
<date>2006-05-22</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 &quot;emulate_prepared&quot; option to force prepared statement emulation
</notes>
</release>
<release>
<version>1.0.2</version>
<date>2006-05-14</date>
Expand Down
6 changes: 4 additions & 2 deletions package_mysqli.php
Expand Up @@ -2,9 +2,11 @@

require_once 'PEAR/PackageFileManager.php';

$version = 'XXX';
$version = '1.0.3';
$notes = <<<EOT
- 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
EOT;

$package = new PEAR_PackageFileManager();
Expand Down Expand Up @@ -44,7 +46,7 @@

$package->addDependency('php', '5.0.0', 'ge', 'php', false);
$package->addDependency('PEAR', '1.0b1', 'ge', 'pkg', false);
$package->addDependency('MDB2', '2.0.2', 'ge', 'pkg', false);
$package->addDependency('MDB2', '2.0.3', 'ge', 'pkg', false);
$package->addDependency('mysqli', null, 'has', 'ext', false);

$package->addglobalreplacement('package-info', '@package_version@', 'version');
Expand Down
37 changes: 16 additions & 21 deletions package_mysqli.xml
Expand Up @@ -14,33 +14,18 @@
</maintainer>
</maintainers>
<release>
<version>1.0.2</version>
<date>2006-05-14</date>
<version>1.0.3</version>
<date>2006-05-22</date>
<license>BSD License</license>
<state>stable</state>
<notes>- optimized listTables() and listViews()
- optimized show related queries
- merged in some features and fixes from the mysql driver
- explicitly set is_manip parameter to false for transaction debug calls
- pass parameter array as debug() all with scope &quot;parameters&quot; in every execute()
call (bug #4119)
- silently change name of primary key contraints to PRIMARY
- 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 &apos;text&apos; in declarations,
as well as in reverse engineering (Request #1523)
- made _doQuery() return a reference
- added userinfo&apos;s to all raiseError calls that previously had none
- use native prepared queries for prepared SELECT statements
- only use native prepared queries of mysql 4.1 or higher
- added &apos;prepared_statements&apos; supported meta data setting
- fixed issue with free() returning void
- added missing supported parameter to prepare() signature
<notes>- fixed unsigned handling and minor tweaks to type mapping in mapNativeDatatype()
- use emulated prepared statements on mysql 4.0 or lower
- added &quot;emulate_prepared&quot; option to force prepared statement emulation
</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.1" optional="no">MDB2</dep>
<dep type="pkg" rel="ge" version="2.0.3" optional="no">MDB2</dep>
<dep type="ext" rel="has" optional="no">mysqli</dep>
</deps>
<filelist>
Expand Down Expand Up @@ -79,6 +64,16 @@
</filelist>
</release>
<changelog>
<release>
<version>1.0.3</version>
<date>2006-05-22</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 &quot;emulate_prepared&quot; option to force prepared statement emulation
</notes>
</release>
<release>
<version>1.0.2</version>
<date>2006-05-14</date>
Expand Down

0 comments on commit 9fc58be

Please sign in to comment.