Releases: gocom/danpu
Releases · gocom/danpu
2.7.0
Changes:
- Fixed: Test suite compatibility on PHP >= 7.2.
- Added: Create database statement.
- Added: Safe SQL delimiter generation. Checks that the contained query does not contain the delimiter rather than using hard-coded slash or semicolon.
- Added: Invokes informative
E_USER_DEPRECATED
messages when using deprecated configuration options. - Added: Supports dumping events.
- Added: Checks MySQL version before dumping triggers or events.
- Changed: All configuration values are now strictly type strict.
Install using Composer:
$ composer require rah/danpu:2.7.0
2.6.2
This is a minor patch update. Changes:
- Fixed: Rah\Danpu\Dump::__call() now properly requires $args, rather than having the second argument optional.
- Changed: Check that the source file exists before trying to import it.
- Started testing the project on HHVM; passes all tests.
Install using Composer:
$ composer require rah/danpu:2.6.2
2.6.1
2.6.0
This release adds number of new features and adopts full PSR-0 and PSR-2 coding standard compliance. Changes:
- Added: Rah\Danpu\BaseInterface.
- Added: Support for filtering tables by prefix.
- Added: Option to get configuration values from the Rah\Danpu\Dump class.
- Added: Generated dump file now ends to linefeed.
- Added: Option to disable auto-commit, foreign and unique key checks. These can be used to generated SQL dumps that import faster to InnoDB tables.
- Changed: Writes the DSN to the dump header instead of the old database property and host.
- Changed: Dump setter and Config values inheritance. Workers now require instance of Dump, but Dump can be fed a different Config instance. This makes sure the methods implemented in the setter, Dump, are available in the consumer class. Extending Config class still works as previously, just pass your Config through Dump to the consumer.
- Changed: Rewritten tests.
- Changed: Improved PHPdoc blocks.
- Changed: Adopted full PSR-0 and PSR-2 standards compliance.
Install using Composer:
$ composer require rah/danpu:2.6.0
2.5.0
This release adds support for triggers and views, and fixes some issues. Changes:
- Fixed: Database table ignoring.
- Fixed: Importer's decompressor.
- Fixed: Table locking doesn't generate errors if the database doesn't have tables.
- Added: Support for triggers and views.
- Added: Importer supports delimiter keyword.
- Changed: Any SQL error is thrown as exception.
Install using Composer:
$ composer require rah/danpu:2.5.0
2.4.0
2.3.3
2.3.2
2.3.1
2.3.0
Changes:
- Fixed: Errors in the given examples. The Rah\Danpu\Dump::temp() should be Rah\Danpu\Dump::tmp().
- Added: Rah\Danpu\Config class. Allows creating dump configs by extending.
- Added: Rah\Danpu\Dump now validates the given configuration option names.
- Added: PHPunit tests and Travis.
Install using Composer:
$ composer require rah/danpu:2.3.0