[ANNOUNCEMENT] MDB2_Schema-0.7.0 (beta) Released.

From: Date: Sat, 21 Oct 2006 21:23:08 +0000
Subject: [ANNOUNCEMENT] MDB2_Schema-0.7.0 (beta) Released.
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-25584@lists.php.net to get a copy of this message
The new PEAR package MDB2_Schema-0.7.0 (beta) has been released at http://pear.php.net/. Release notes ------------- - Improved INSERT support, added UPDATE and DELETE statements - XML syntax redesigned to cover DML addictions - Creation of an explicit NULL (<null></null>) - various fixes to the DTD, including DML addictions - XSD schema definition created - Tests also output php version - New example parse.php lets you check how a XML schema is stored - Updated schema.xml to demo the DML support - Documentation reformulated, also covering new XML syntax - Improved demo script example.php, which now includes more actions and options - Writer is returning an error when fopen() fails - Writer has now its own error code - Variable "seq" became "sequence" and "seq_name" became "sequence_name" in the Parser - Moved validation code out of the Parser into a new separate class called Validation - Fixed index handling in the Parser - Refactored error handling in the Parser - Removed variable "init_field", that wasn't being used, from the Parser - Parser simulates only one level of recurssion, which means no more than function-expression or vice-versa - Fixed warning due to not checking with isset() in the Parser - Fixed warning due to not checking with isset() in the Schema - Typo fix (related to Bug #9024) - Fixed createDatabase() that was trying to use a non-existant database that was about to be created - Simplified API for compareTableFieldsDefinitions() and compareTableIndexesDefinitions() - Rewritten some docblocks - Added fold markers where missing - Removed @static from non static methods - Fixed several PEAR CS issues - Added code for field/identifier quoting - Ensure all identifiers are passed to quoteIdentifier() (Bug #8429) open todo items: - Make MDB2_Schema loadable via MDB2_Driver_Common::loadModule() (Bug #8270) - Add ability to define variables inside the schema (like a version number) - Allow simple if statements that mean that anything enclosed is only executed if it meets certain criterias based on that version number (or some other variable). This would enable people to add DML statements that are only executed when updating from a specific version. - Add support for recursive tag parsing. Currently only expression<->function is supported but not expression-expression or function-function, although recursion is already supported by the initializeTable() method - Parser should be replaced for XML serializer ? - Modularize Writer code or remake it - Add specific error codes for Validate class - Add support for ORDER clauses on UPDATEs (to resolve the duplicate key problem) - Update description.schema.xml - Document how to use the API - Create unit test for comparedefinitions() - Create unit test for initializetable() - Create unit test to compare the expected array definition with what is parsed - HTML entities aren't being parsed correctly - Add optional support for scale in decimal fields - Implement "WHERE column IS NULL" - Add ability to parse a "contents-only" XML dump Package Info ------------ PEAR::MDB2_Schema enables users to maintain RDBMS independant schema files in XML that can be used to create, alter and drop database entities and insert data into a database. Reverse engineering database schemas from existing databases is also supported. The format is compatible with both PEAR::MDB and Metabase. Related Links ------------- Package home: http://pear.php.net/package/MDB2_Schema Changelog: http://pear.php.net/package/MDB2_Schema/download/0.7.0 Download: http://download.pear.php.net/package/MDB2_Schema-0.7.0.tgz Authors ------- Lukas Smith <smith@pooteeweet.org> (lead) Igor Feghali <ifeghali@php.net> (lead)

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