Fedora 18 Update: php-pear-DB-DataObject-1.11.2-1.fc18

updates at fedoraproject.org updates at fedoraproject.org
Mon Apr 15 23:56:02 UTC 2013

Fedora Update Notification
2013-04-06 23:55:23

Name        : php-pear-DB-DataObject
Product     : Fedora 18
Version     : 1.11.2
Release     : 1.fc18
URL         : http://pear.php.net/package/DB_DataObject
Summary     : An SQL Builder, Object Interface to Database Tables
Description :
DataObject performs 2 tasks:
1. Builds SQL statements based on the objects vars and the builder methods.
2. acts as a datastore for a table row.

The core class is designed to be extended for each of your tables so that you
put the data logic inside the data classes. Included is a Generator to make
your configuration files and your base classes.

Update Information:

Upstream Changelog:

Minor feature and fix release. (Basically a yearly release now..)

* DB2 and DB are now optional dependancies, although one of them is required.

AutoJoin - improvements:
* support sqlValue and DB_DataObject_Cast values in setFrom()
* correct filtering - diff and intersect... so additional cols do not get injected by exclude..
* autoJoin( "exclude" => array( "col1", "col2") ) should now exclude the columns from selectAdd/As
* correctly handle include in autojoin - based on derived column names
* autojoin now supports include and distinct, and returns count as the column to count on + handles Closure on debugging output of config

Other Changes:
* add limited support for building derived table queries - which can speed up mysql queries hugely when using distinct/limit

Removed / changed / deprecated:
* remove PHP4 support
* Make staticGet deprecated in generator and main code (move to end of file with rest of deprecated stuff..

Minor fixes:
* fix signature on deprecated staticGet method
* fix typo in links code DO::getLinks()
* fix is_a syntax error - RTFM might be a good idea
* check return value from generator
* remove blob test from stringtostring code..

Bug Fixes:
* #19697 - str_replace only if needed to reduce memory - and move staticAutoloadTAble to deprecated section
* #19637 - strip support with regex broke boolean settings
* #19640 - indentation not correct on generator
* #19500 - use same way that pear db mssql driver quotes for regular strings (tidy up)
* #19500 - support for mssql in DataObject Cast
* #19505 - simplify the proxy loading code detection and usage.
* #19479 - simpler test should do the job
* #19479 - link loaded test was incorrect
* #19475 - comment out a few echos that got left in


* Fri Apr  5 2013 Remi Collet <remi at fedoraproject.org> - 1.11.2
- Version 1.11.2 (stable) - API 1.9.0 (stable)
- add LICENSE file
* Fri Apr  5 2013 Remi Collet <remi at fedoraproject.org> - 1.11.1
- Version 1.11.1 (stable) - API 1.9.0 (stable)

This update can be installed with the "yum" update program.  Use 
su -c 'yum update php-pear-DB-DataObject' at the command line.
For more information, refer to "Managing Software with yum",
available at http://docs.fedoraproject.org/yum/.

All packages are signed with the Fedora Project GPG key.  More details on the
GPG keys used by the Fedora Project can be found at

More information about the package-announce mailing list