http://pear.php.net/
pear-webmaster@lists.php.netpear-webmaster@lists.php.neten-usPEAR: Latest releases for morseThe latest releases for the PEAR developer morse (David Morse)DB_Table 1.5.6
http://pear.php.net/package/DB_Table/download/1.5.6/
- Feature Request #14262: due to Oracle's limitations, table/column/index<br />
names were restricted to a maximum length of 30 characters; by setting<br />
$GLOBALS['_DB_TABLE']['disable_length_check'] to (boolean) true, this<br />
check can now be disabled (attention: your code will not be compatible<br />
with Oracle anymore if you're using longer names)
2008-12-25T14:58:52-05:00wiesemannDB_Table 1.5.5
http://pear.php.net/package/DB_Table/download/1.5.5/
- fix for installation problems on some Linux installations, no code changes
2008-06-17T09:07:33-05:00wiesemannDB_Table 1.5.4
http://pear.php.net/package/DB_Table/download/1.5.4/
- Bug #14106: "PRIMARY" not allowed as index name
2008-06-08T13:50:02-05:00wiesemannDB_Table 1.5.3
http://pear.php.net/package/DB_Table/download/1.5.3/
- Bug #14082: fixed index type detection (due to changes in MDB2 2.5.x)<br />
(thanks to Gregor Gramlich for the patch)
2008-06-06T08:36:08-05:00wiesemannDB_Table 1.5.2
http://pear.php.net/package/DB_Table/download/1.5.2/
- Bug #13701: Undefined variable $db in Generator.php<br />
(thanks to Youichi Okada)<br />
- Bug #13728: generator produced invalid variable names (e.g. containing a dot)<br />
(thanks to Peter Pawluczuk)
2008-05-14T14:38:43-05:00wiesemannDB_Table 1.5.1
http://pear.php.net/package/DB_Table/download/1.5.1/
- this package is now licensed under the New BSD license<br />
- Request #12136: support for 'qf_type' == 'link' is now available, providing<br />
access to the "link" element of HTML_QuickForm; the link href needs to be<br />
specified in the 'qf_href' key, the link text needs to be specified in the<br />
'qf_setvalue' key<br />
(thanks to Diederick Huijbers)<br />
- Bug #12190: missing error return in DB_Table_Manager::create() <br />
(thanks to Carsten Wiedmann for the patch)<br />
- Bug #12208: wrong verification of clob fields with mysql(i) backend<br />
(thanks to Carsten Wiedmann)<br />
- Bug #12247: 'require' attribute is name 'required' in Generator<br />
(thanks to Gregor Gramlich)<br />
- Bug #12497: Generator works only with DB, but not with MDB2<br />
(thanks to Carsten Wiedmann for the patch)<br />
- Request #12510: various optimizations (mostly coding standards) and<br />
corrections (missing error return call, change MDB2's portability mode only<br />
temporarily) <br />
(thanks to Carsten Wiedmann for the patch)<br />
- Request #13267: constructor's $table parameter is now optional; this change<br />
allows to set a fixed table name via the $table property in the DB_Table<br />
subclass
2008-03-28T15:20:56-05:00wiesemannDB_Table 1.5.0
http://pear.php.net/package/DB_Table/download/1.5.0/
This is the first stable release that contains some signficant enhancements to DB_Table. The main changes since release 1.4.0 are:<br />
- A new DB_Table_Database class, which contains a model of relationships between tables. The class contains methods to simplify the construction of joins, check foreign key validity, and emulate referentially triggered ON DELETE and ON UPDATE actions. <br />
- A new DB_Table_Generator class, which generates PHP code necessary for an existing database. Generates a skeleton DB_Table subclass definition for each table in the database. <br />
- A new DB_Table_Base class, as an abstract parent class for DB_Table and DB_Table_Database.<br />
- Added auto-increment column declarations to DB_Table<br />
- Select*() methods can now process query arrays passed as arguments (as well as stored queries).<br />
- XML support, using the MDB2 XML schema. XML Serialization and unserialization of the database model.<br />
- Full unit tests for DB_Table_Database.<br />
- Full documentation added to the PEAR manual. <br />
<br />
The only changes since release 1.5.0RC3 are changes to the organization of the DB_Table_Database unit tests, and inclusion of a simple form of regression testing. See tests/database/README.
2007-06-27T18:27:30-05:00morseDB_Table 1.5.0RC3
http://pear.php.net/package/DB_Table/download/1.5.0RC3/
- Added complete documentation in the PEAR manual.<br />
- new DB_Table_Base class added. This is a parent class for DB_Table and DB_Table_Database that contains methods and properties common to both classes. <br />
- The DB_Table::select*() and DB_Table::buildSQL() methods, which are now inherited from the DB_Table_Base class, now accept either a query array or (as before) a key of the $sql property array as a first argument.<br />
- Added DB_Table_Database::onDeleteAction() and DB_Table_Database::onUpdateAction() methods, which implement referentially triggered actions (e.g., cascading deletes). This code had previously been part of the DB_Table_Database insert() and update() methods.<br />
- Changed behavior of DB_Table::insert() and DB_Table::update() method for a DB_Table object that is part of a DB_Table_Database instance: If a parent DB_Table_Database object exists, these methods can now validate foreign keys and implement ON DELETE and ON UPDATE actions, if these behaviors are enabled in the parent DB_Table_Database object. The behaviors of the DB_Table and DB_Table_Database insert and update methods are now identical. (This is a BC break with 1.5.0RC1 and 1.5.0RC2 beta releases, but not with earlier stable releases.)<br />
- Disable automatic foreign key validation by default (BC break with releases 1.5.0RC1 and 1.5.0RC2).<br />
- Added buildFilter() method to the DB_Table_Base class. This a simplified version of the DB_Table_Database::buildFilter() method of previous 1.5.0RC* releases. (BC break with 1.5.0RC1 and 1.5.0RC2)<br />
- Added a private DB_Table_Database::_buildForeignKeyFilter() for more specialized uses of the old buildFilter() method, which are used internally to construct queries.<br />
- Changed return value of DB_Table_Database::validForeignKey on failure from boolean false to PEAR_Error. Changed related error codes.<br />
- Changed <autoinc> element of XML output to <autoincrement> for consistency with MDB2 XML schema. <br />
- Simplified unit tests for DB_Table_Database by adding a parent DatabaseTest unit test class.
2007-06-14T15:12:03-05:00wiesemannDB_Table 1.5.0RC2
http://pear.php.net/package/DB_Table/download/1.5.0RC2/
- new DB_Table_Generator class added. This class generates code required as an interface to an existing database by reverse engineering the databcase. It generates a DB_Table subclass definition for each table, and a script that instantiates one instance of each DB_Table subclass, and a parent DB_Table_Database object. See the documentation block for the new class for usage instructions, and the tests/generator/tests.php script for an example.
2007-03-24T23:37:20-05:00morseDB_Table 1.5.0RC1
http://pear.php.net/package/DB_Table/download/1.5.0RC1/
- New DB_Table_Database class added to package. The new class provides a model <br />
of foreign key relationships between tables in a database, and features that <br />
depend on knowledge of these relationships. User documentation for this <br />
class is provided in docs/database/manual.html. <br />
- Added auto-increment feature to DB_Table insert() method. The value of a new<br />
$auto_inc_col property is the name of an auto-increment column (if any) or <br />
null. <br />
- added toXML() method to DB_Table, which emits the table schema in the MDB2 <br />
XML DTD, with an extension to describe foreign key references. This method <br />
is called by the toXML() method of DB_Table_Database, which emits an XML <br />
schema string for an entire database.
2007-02-06T01:32:31-05:00morse