http://pear.php.net/
pear-webmaster@lists.php.netpear-webmaster@lists.php.neten-usLatest releases of mdb2_schemaThe latest releases for the package mdb2_schemaMDB2_Schema 0.8.6
http://pear.php.net/package/MDB2_Schema/download/0.8.6/
- PHP 7 support<br />
- Composer support<br />
- Update PHPUnit support and make unit tests more robust<br />
- Update dependencies<br />
- Remove renameKey()<br />
- Add some documentation (Bug #15189)<br />
- Improve PHPCS results (Bug #15064)<br />
- Fix saving debug checkbox state<br />
- Support max_identifiers_length (issue an error when identifier is longer than driver can handle)<br />
- Tables/sequences were not being marked to be removed when new definition didn't contains tables/sequences<br />
* Following last release changes, sequences drops are now controlled by an option<br />
* BC BREAK: drop_missing_tables option became drop_obsolete_objects (tables/sequences)<br />
- Make "sequence-on XML" element optional<br />
- Using HTML_Template_IT for mdb2_schematool templating<br />
<br />
open todo items:<br />
- Clean up output of getDefinitionFromDatabase(). Sync it with Parser and Parser2.<br />
- Automatically load reserved keywords<br />
- Make MDB2_Schema loadable via MDB2_Driver_Common::loadModule() (Bug #8270)<br />
- Allow simple if statements that mean that anything enclosed is only executed<br />
if it meets certain criterias based on that version number (or some other<br />
variable). This would enable people to add DML statements that are only<br />
executed when updating from a specific version.<br />
- Modularize Writer code or remake it<br />
- Add specific error codes for Validate class<br />
- Add support for ORDER clauses on UPDATEs (to resolve the duplicate key <br />
problem)<br />
- Update description.schema.xml<br />
- Create unit test for comparedefinitions()<br />
- Create unit test for initializetable()<br />
- Create unit test to compare the expected array definition with what is parsed<br />
- Improve validateDataFieldValue() to validate <column><br />
- Provide more info on MDB2_Schema_Validate errors (output parsed value and expected value)<br />
- Views support<br />
- Fulltext index support<br />
- PKs as constraints, not indices<br />
- Creation of constraints only after all tables have been created/updated to avoid invalid references.
2015-11-26T15:19:34-05:00danielcMDB2_Schema 0.8.5
http://pear.php.net/package/MDB2_Schema/download/0.8.5/
- PEAR dependency updated (Bug #15923)<br />
- XML_DTD dependency updated (past releases of XML_DTD doesn't works anymore. release 0.5.1 works only with PHP 5).<br />
- Fixed 'disable_queries' and 'show_structure' options that were malfunctioning in mdb2_schematool web version<br />
- Added an option to not drop obsolete tables when updating (Request #15278). It defaults not to drop, which reverts the behavior introduced in Release 0.8.3<br />
<br />
open todo items:<br />
- Clean up output of getDefinitionFromDatabase(). Sync it with Parser and Parser2.<br />
- Automatically load reserved keywords<br />
- Make MDB2_Schema loadable via MDB2_Driver_Common::loadModule() (Bug #8270)<br />
- Allow simple if statements that mean that anything enclosed is only executed<br />
if it meets certain criterias based on that version number (or some other<br />
variable). This would enable people to add DML statements that are only<br />
executed when updating from a specific version.<br />
- Modularize Writer code or remake it<br />
- Add specific error codes for Validate class<br />
- Add support for ORDER clauses on UPDATEs (to resolve the duplicate key <br />
problem)<br />
- Update description.schema.xml<br />
- Create unit test for comparedefinitions()<br />
- Create unit test for initializetable()<br />
- Create unit test to compare the expected array definition with what is parsed<br />
- Improve validateDataFieldValue() to validate <column><br />
- Provide more info on MDB2_Schema_Validate errors (output parsed value and expected value)<br />
- Views support<br />
- Fulltext index support<br />
- PKs as constraints, not indices<br />
- Creation of constraints only after all tables have been created/updated to avoid invalid references.
2009-02-22T22:12:14-05:00ifeghaliMDB2_Schema 0.8.4
http://pear.php.net/package/MDB2_Schema/download/0.8.4/
- fixed warning in validateTable() that was introduced in last release (Bug #15055)<br />
- fixed interpreter for mdb2_schematool, plus it is now been installed to bin_dir (now, really!)<br />
- mdb2_schematool has a new feature: initialize database<br />
- mdb2_schematool can now be used to dump data and/or database structure<br />
<br />
open todo items:<br />
- Clean up output of getDefinitionFromDatabase(). Sync it with Parser and Parser2.<br />
- Automatically load reserved keywords<br />
- Make MDB2_Schema loadable via MDB2_Driver_Common::loadModule() (Bug #8270)<br />
- Allow simple if statements that mean that anything enclosed is only executed<br />
if it meets certain criterias based on that version number (or some other<br />
variable). This would enable people to add DML statements that are only<br />
executed when updating from a specific version.<br />
- Modularize Writer code or remake it<br />
- Add specific error codes for Validate class<br />
- Add support for ORDER clauses on UPDATEs (to resolve the duplicate key <br />
problem)<br />
- Update description.schema.xml<br />
- Create unit test for comparedefinitions()<br />
- Create unit test for initializetable()<br />
- Create unit test to compare the expected array definition with what is parsed<br />
- Improve validateDataFieldValue() to validate <column><br />
- Provide more info on MDB2_Schema_Validate errors (output parsed value and expected value)<br />
- Views support<br />
- Fulltext index support
2008-11-17T18:30:50-05:00ifeghaliMDB2_Schema 0.8.3
http://pear.php.net/package/MDB2_Schema/download/0.8.3/
- updateDatabase() cannot add UNIQUE attribute to an existing index (Bug #13977). Patch by Holger Schletz<br />
- updateDatabase() keeps old default value even though new column has no default (Bug #13836). Patch by Holger Schletz<br />
- Obsolete tables and sequences not dropped on updateDatabase() (Bug #13608). Patch by Holger Schletz<br />
- Error when creating a new index for a renamed table (Bug #13397)<br />
- Makes use of MDB2::databaseExists() to check whether updating database exists (Bug #13073). This feature was removed on previous release and now is back again.<br />
- createDatabase() correctly lower/upper database name when portability option deems so. <br />
- mdb2_schematool now disables transactions<br />
- mdb2_schematool was missing argument "help"<br />
- mdb2_schematool moved from "bin" to "scripts" folder. now installs to pear_bin dir<br />
- Schema validation not failing when autoincrement field is defined but another column is used as primary key (Bug #14213)<br />
- Accepting NOW() as value for timestamp fields on schema validation (Bug #14052). Patch by Holger Schletz<br />
- Introducing www/mdb2_schematool that is a rewrite of docs/examples/example.php and is now installed to web root<br />
- Web frontend (www/mdb2_schematool) has new options "DBA_username" and "DBA_password"<br />
- Tests missing sequences on database dump (Bug #13562). Patch by Luca Corbo<br />
- When reverse engineering a database, the XML schema file will have <charset> forced to UTF8<br />
<br />
open todo items:<br />
- Clean up output of getDefinitionFromDatabase(). Sync it with Parser and Parser2.<br />
- Automatically load reserved keywords<br />
- Make MDB2_Schema loadable via MDB2_Driver_Common::loadModule() (Bug #8270)<br />
- Allow simple if statements that mean that anything enclosed is only executed<br />
if it meets certain criterias based on that version number (or some other<br />
variable). This would enable people to add DML statements that are only<br />
executed when updating from a specific version.<br />
- Modularize Writer code or remake it<br />
- Add specific error codes for Validate class<br />
- Add support for ORDER clauses on UPDATEs (to resolve the duplicate key <br />
problem)<br />
- Update description.schema.xml<br />
- Create unit test for comparedefinitions()<br />
- Create unit test for initializetable()<br />
- Create unit test to compare the expected array definition with what is parsed<br />
- Improve validateDataFieldValue() to validate <column><br />
- Provide more info on MDB2_Schema_Validate errors (output parsed value and expected value)<br />
- Views support<br />
- Fulltext index support
2008-11-16T19:33:46-05:00ifeghaliMDB2_Schema 0.8.2
http://pear.php.net/package/MDB2_Schema/download/0.8.2/
- updated dependency<br />
- updated license disclaimer in source code files<br />
- use quoteIdentifier in getInstructionFields() (Bug #13037)<br />
- After database creation, sqlite db connection not usable (Bug #11920)<br />
- Supporting Database Charset (Bug #12908)<br />
- writeInitialization() fails at given conditions (Bug #12950)<br />
- drop usage of listDatabases() (Bug #12636), as a consequence updateDatabase() doesn't check anymore whether updating database exists<br />
- index-length documented and included in Parser2 (Bug #12540)<br />
- xsl transformation chooses wrong value for length (Bug #12261)<br />
- added README file for docs dir<br />
- the correct variable name for warning is "warnings" not "operation" in example script<br />
- disabled transactions in the example script<br />
- introducing mdb2_schematool, a command line tool to dump and load schemas<br />
<br />
open todo items:<br />
- Clean up output of getDefinitionFromDatabase(). Sync it with Parser and Parser2.<br />
- Automatically load reserved keywords<br />
- Make MDB2_Schema loadable via MDB2_Driver_Common::loadModule() (Bug #8270)<br />
- Allow simple if statements that mean that anything enclosed is only executed<br />
if it meets certain criterias based on that version number (or some other<br />
variable). This would enable people to add DML statements that are only<br />
executed when updating from a specific version.<br />
- Modularize Writer code or remake it<br />
- Add specific error codes for Validate class<br />
- Add support for ORDER clauses on UPDATEs (to resolve the duplicate key <br />
problem)<br />
- Update description.schema.xml<br />
- Create unit test for comparedefinitions()<br />
- Create unit test for initializetable()<br />
- Create unit test to compare the expected array definition with what is parsed<br />
- Improve validateDataFieldValue() to validate <column><br />
- Provide more info on MDB2_Schema_Validate errors (output parsed value and expected value)<br />
- Views support<br />
- Fulltext index support
2008-02-23T00:17:01-05:00ifeghaliMDB2_Schema 0.8.1
http://pear.php.net/package/MDB2_Schema/download/0.8.1/
- updated dependency<br />
<br />
open todo items:<br />
- Clean up output of getDefinitionFromDatabase(). Sync it with Parser and Parser2.<br />
- Automatically load reserved keywords<br />
- Make MDB2_Schema loadable via MDB2_Driver_Common::loadModule() (Bug #8270)<br />
- Allow simple if statements that mean that anything enclosed is only executed<br />
if it meets certain criterias based on that version number (or some other<br />
variable). This would enable people to add DML statements that are only<br />
executed when updating from a specific version.<br />
- Modularize Writer code or remake it<br />
- Add specific error codes for Validate class<br />
- Add support for ORDER clauses on UPDATEs (to resolve the duplicate key <br />
problem)<br />
- Update description.schema.xml<br />
- Create unit test for comparedefinitions()<br />
- Create unit test for initializetable()<br />
- Create unit test to compare the expected array definition with what is parsed<br />
- Improve validateDataFieldValue() to validate <column><br />
- Provide more info on MDB2_Schema_Validate errors (output parsed value and expected value)<br />
- Views support<br />
- Fulltext index support
2007-08-30T16:04:16-05:00ifeghaliMDB2_Schema 0.8.0
http://pear.php.net/package/MDB2_Schema/download/0.8.0/
- Primary Key is removed when updating a table against its XML (Bug #11604)<br />
- Added support to INSERT...SELECT syntax, so it is now possible to prevent data loss when rollback an updated database (Bug #10892)<br />
- Updated API of getInstructionFields() and getInstructionWhere()<br />
- It is now possible to prevent updateDatabase() of overwriting the old schema file<br />
- alterDatabaseTables() first add new tables, then remove the old one. it is necessary to save table data before a remove<br />
- updateDatabase() was aborting, under certain conditions, when <was> was not found (Bug #11600)<br />
- Now validating database definition when reverse engineering (Bug #11604)<br />
- createDatabase() has a new parameter that is passed to the database driver to set some options like table engine<br />
- Foreign Keys support<br />
- It is now possible to assign to a column the value of another column, of the same table, when inserting data<br />
- Fixed the HTML etities issue when parsing a schema file (Bug #11676)<br />
- XML Documentation, XSD and DST updated to show/expect the attributes in a unique order. Writer and parsers was also updated to handle the attributes in that some order. That said Parser and Parser2 must have the exactly same output for a given XML<br />
- Except for table fields, all other database elements are being initialized with all its attributes, no matter if those attributes are present on the XML or not<br />
- Many bugs fixed in Parser2, that was not creating a valid database definition<br />
- Introduced attribute "fixed" of table field declaration<br />
- validateIndex() is now checking whether a index has fields<br />
- Validate is not returning MDB2_OK instead of boolean true<br />
- XML Documentation and schema validators revised and updated<br />
<br />
open todo items:<br />
- Clean up output of getDefinitionFromDatabase(). Sync it with Parser and Parser2.<br />
- Automatically load reserved keywords<br />
- Make MDB2_Schema loadable via MDB2_Driver_Common::loadModule() (Bug #8270)<br />
- Allow simple if statements that mean that anything enclosed is only executed<br />
if it meets certain criterias based on that version number (or some other<br />
variable). This would enable people to add DML statements that are only<br />
executed when updating from a specific version.<br />
- Modularize Writer code or remake it<br />
- Add specific error codes for Validate class<br />
- Add support for ORDER clauses on UPDATEs (to resolve the duplicate key <br />
problem)<br />
- Update description.schema.xml<br />
- Create unit test for comparedefinitions()<br />
- Create unit test for initializetable()<br />
- Create unit test to compare the expected array definition with what is parsed<br />
- Improve validateDataFieldValue() to validate <column><br />
- Provide more info on MDB2_Schema_Validate errors (output parsed value and expected value)<br />
- Views support<br />
- Fulltext index support
2007-08-20T12:44:53-05:00ifeghaliMDB2_Schema 0.7.2
http://pear.php.net/package/MDB2_Schema/download/0.7.2/
- Allow options to be passed in when creating tables (Bug #10278)<br />
- Existence of a single index results in no further index creation (Bug #10296)<br />
- MDB2_Schema::createTableIndexes() ignores indexes (Bug #10285)<br />
- column identifiers quoting problem (Bug #10195)<br />
- Handle 'scale' value in DECIMAL field definition (Bug #10475)<br />
- fixed phpdoc comment for validateDataField()<br />
- all primary keys are given an index name of "primary" (Bug #10457)<br />
- example.php should echo xml when no filename is given (Bug #10226)<br />
<br />
open todo items:<br />
- Make MDB2_Schema loadable via MDB2_Driver_Common::loadModule() (Bug #8270)<br />
- Add ability to define variables inside the schema (like a version number)<br />
- Allow simple if statements that mean that anything enclosed is only executed<br />
if it meets certain criterias based on that version number (or some other<br />
variable). This would enable people to add DML statements that are only<br />
executed when updating from a specific version.<br />
- Modularize Writer code or remake it<br />
- Add specific error codes for Validate class<br />
- Add support for ORDER clauses on UPDATEs (to resolve the duplicate key <br />
problem)<br />
- Update description.schema.xml<br />
- Document how to use the API<br />
- Create unit test for comparedefinitions()<br />
- Create unit test for initializetable()<br />
- Create unit test to compare the expected array definition with what is parsed<br />
- HTML entities aren't being parsed correctly<br />
- Improve validateDataFieldValue() to validate <column><br />
- Provide more info on MDB2_Schema_Validate errors (output parsed value and expected value)<br />
- Views support<br />
- Foreign keys support<br />
- Fulltext index support
2007-04-07T09:57:58-05:00ifeghaliMDB2_Schema 0.7.1
http://pear.php.net/package/MDB2_Schema/download/0.7.1/
- Package converted to version 2<br />
- compareDefinition() was trying to update non-changing id field (Bug #8820)<br />
- for a moment <default> should be always parsed as string, no matter the field<br />
type. this behavior may change in the future.<br />
- undefined method MDB2_Schema::quoteIdentifier() (Bug #9172)<br />
- added support for explicit NULL (<null></null>)<br />
- <value></value> is now correctly being parsed as an empty string<br />
- fixed internal bug in Parser that was introduced in revision 1.46 (Bug #9435)<br />
- MDB2_Schema_Parser::setData() has been removed<br />
- MDB2_Schema_Validate::validateDataField() is validating field data again<br />
(Bug #9181)<br />
- updated reserved keywords of ibase<br />
- updated XML Schema documentation<br />
- updated XML Schema example<br />
- added a new test case to isBoolean() (empty string)<br />
- released the very first approach of the new parser that makes usage of<br />
XML_Serializer (alternative parser)<br />
<br />
open todo items:<br />
- Make MDB2_Schema loadable via MDB2_Driver_Common::loadModule() (Bug #8270)<br />
- Add ability to define variables inside the schema (like a version number)<br />
- Allow simple if statements that mean that anything enclosed is only executed<br />
if it meets certain criterias based on that version number (or some other<br />
variable). This would enable people to add DML statements that are only<br />
executed when updating from a specific version.<br />
- Modularize Writer code or remake it<br />
- Add specific error codes for Validate class<br />
- Add support for ORDER clauses on UPDATEs (to resolve the duplicate key <br />
problem)<br />
- Update description.schema.xml<br />
- Document how to use the API<br />
- Create unit test for comparedefinitions()<br />
- Create unit test for initializetable()<br />
- Create unit test to compare the expected array definition with what is parsed<br />
- HTML entities aren't being parsed correctly<br />
- Add optional support for scale in decimal fields<br />
- Improve validateDataFieldValue() to validate <column><br />
- Provide more info on MDB2_Schema_Validate errors (output parsed value and expected value)<br />
- Views support<br />
- Foreign keys support<br />
- Fulltext index support
2007-02-21T07:53:01-05:00ifeghaliMDB2_Schema 0.7.0
http://pear.php.net/package/MDB2_Schema/download/0.7.0/
- Improved INSERT support, added UPDATE and DELETE statements<br />
- XML syntax redesigned to cover DML addictions<br />
- Creation of an explicit NULL (<null></null>)<br />
- various fixes to the DTD, including DML addictions<br />
- XSD schema definition created<br />
- Tests also output php version<br />
- New example parse.php lets you check how a XML schema is stored<br />
- Updated schema.xml to demo the DML support<br />
- Documentation reformulated, also covering new XML syntax<br />
- Improved demo script example.php, which now includes more actions and options<br />
- Writer is returning an error when fopen() fails<br />
- Writer has now its own error code<br />
- Variable "seq" became "sequence" and "seq_name" became "sequence_name" in the<br />
Parser<br />
- Moved validation code out of the Parser into a new separate class called<br />
Validation<br />
- Fixed index handling in the Parser<br />
- Refactored error handling in the Parser<br />
- Removed variable "init_field", that wasn't being used, from the Parser<br />
- Parser simulates only one level of recurssion, which means no more than <br />
function-expression or vice-versa<br />
- Fixed warning due to not checking with isset() in the Parser<br />
- Fixed warning due to not checking with isset() in the Schema<br />
- Typo fix (related to Bug #9024)<br />
- Fixed createDatabase() that was trying to use a non-existant database that <br />
was about to be created<br />
- Simplified API for compareTableFieldsDefinitions() and <br />
compareTableIndexesDefinitions()<br />
- Rewritten some docblocks<br />
- Added fold markers where missing<br />
- Removed @static from non static methods<br />
- Fixed several PEAR CS issues<br />
- Added code for field/identifier quoting<br />
- Ensure all identifiers are passed to quoteIdentifier() (Bug #8429)<br />
<br />
open todo items:<br />
- Make MDB2_Schema loadable via MDB2_Driver_Common::loadModule() (Bug #8270)<br />
- Add ability to define variables inside the schema (like a version number)<br />
- Allow simple if statements that mean that anything enclosed is only executed<br />
if it meets certain criterias based on that version number (or some other<br />
variable). This would enable people to add DML statements that are only<br />
executed when updating from a specific version.<br />
- Add support for recursive tag parsing. Currently only expression<->function<br />
is supported but not expression-expression or function-function, although<br />
recursion is already supported by the initializeTable() method<br />
- Parser should be replaced for XML serializer ?<br />
- Modularize Writer code or remake it<br />
- Add specific error codes for Validate class<br />
- Add support for ORDER clauses on UPDATEs (to resolve the duplicate key <br />
problem)<br />
- Update description.schema.xml<br />
- Document how to use the API<br />
- Create unit test for comparedefinitions()<br />
- Create unit test for initializetable()<br />
- Create unit test to compare the expected array definition with what is parsed<br />
- HTML entities aren't being parsed correctly<br />
- Add optional support for scale in decimal fields<br />
- Implement "WHERE column IS NULL"<br />
- Add ability to parse a "contents-only" XML dump
2006-10-21T17:23:08-05:00ifeghali