[ANNOUNCEMENT] DB_DataObject-1.11.1 (stable) Released.
[email protected] ("PEAR Announce")
| Newsgroups | php.pear.general |
|---|---|
| Message-ID | <[email protected]> |
The new PEAR package DB_DataObject-1.11.1 (stable) has been released at http://pear.php.net/.
Release notes
-------------
(re-release of 1.11.0 - to fix archive tar issue.)
Minor feature and fix release. (Basically a yearly release now..)
Dependancies
MDB2 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 / depricated
- remove PHP4 support
- Make staticGet depricated in generator and main code (move to end of file with rest of depricated stuff..
Minor fixes
- fix signature on depricated 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 depricated 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
Package Info
------------
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.
Related Links
-------------
Package home: http://pear.php.net/package/DB_DataObject
Changelog: http://pear.php.net/package/DB_DataObject/download/1.11.1
Download: http://download.pear.php.net/package/DB_DataObject-1.11.1.tgz
Authors
-------
Alan Knowles <[email protected]> (lead)