[ANNOUNCEMENT] DB_DataObject-1.10.0 (stable) Released.

From: Date: Fri, 27 Apr 2012 10:30:35 +0000
Subject: [ANNOUNCEMENT] DB_DataObject-1.10.0 (stable) Released.
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-31542@lists.php.net to get a copy of this message
The new PEAR package DB_DataObject-1.10.0 (stable) has been released at http://pear.php.net/. Release notes ------------- Major feature and fix release. #----- - Fix transactions - query(BEGIN) did not actually run when called. #----- - Refactor Link and join code - link code moved to DB_DataObject_Link, new option generate_link_methods, new method link() - make the links option work with autojoin, add setter feature to links() - support links option on autojoin - add support for excluded columns on autoJoin - more detailed check on assigning numbers in link() - new link syntax in generated methods - make links() support same array syntax as joinAdd(), and change links() to support input as func_get_args() for the second argument, cleans up wrapper code.. - support joinAdd(array("local_col", $dataObject, "remote_col"), "LEFT"), extra debugging on count(), and case sensitive checking on numRows (not sure if that was needed..) #----- - remove notes relating to MDB as they are not relivant anymore #----- - SVN/git has new directory layout #----- - Add pid() - a quick way to get the value from the primary "id" column of the database #----- - add sqlValue() - a factory method to create a DB_DataObject_Cast Object #----- - nice warning on failed to write to temporary file #----- - fixes to correctly support portability in selectAs() #----- - fixes to correctly support portability in joinAdd #----- - lower case links and ini during load, when portability set, fix handling in joinAdd #----- - add experimental support for posgresql introspected native keys #----- - move assignment to error in raiseError after it actually happens, this should ensure _lastError gets set correctly as the aliased setting does not appear to work very well.. #----- - find() will return false when an error occurs (rather than 0) #18995 - Remove error_reporting settings from tests (closes bug #18995). #18931 - typos in comments - rasmus would appreciate this one... (depreciated to depricated) #----- - support ini_database in foreign key generation, and regex matching on strip schema #----- - document change to generator_strip_schema which now supports regexp to strip from matching schemas #----- - add support for portability in tableName() - most references to tablename will now call tablename, so that code working on mysql can work on postgres, where tables are mixed case in mysql. #----- - document build_views change #----- - support _TEXT type (postgres view returns this.) #----- - support build_views=schema.views for building dataobjects from views with schemas #18767 - use argv0 for the usage line, and ensure that is is run from cli sapi 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.10.0 Download: http://download.pear.php.net/package/DB_DataObject-1.10.0.tgz Authors ------- Alan Knowles <alan@akbkhome.com> (lead)

« previous php.pear.general (#31542) next »