Skip to content

2.6.0

Compare
Choose a tag to compare
@gocom gocom released this 16 Dec 14:43
· 94 commits to master since this release

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