Releases: mirko-pagliai/cakephp-database-backup
Releases · mirko-pagliai/cakephp-database-backup
2.3.0
- full support for working under Windows;
- added
Driver::getConfig()method, removedDriver::$configproperty. This
allows you to get the configuration values safely; - fixed a bug for export and import executables with Postgres databases;
- before importing a sqlite backup, each table is dropped, rather than deleting
the database file; - added
isWin()global function; - tests can have
onlyUnixoronlyWindowsgroup.
Thanks to @swiffer for the valuable contribution in supporting Windows.
2.2.0
- added
ConsoleIntegrationTestCaseandTestCaseTraitclasses. Console tests
have been simplified; - updated for CakePHP 3.5.
2.1.4
- when a backup is sent by mail, the mimetype is forced;
- fixed some tests.
2.1.3
- added
createBackup()andcreateSomeBackups()to theTestCaseclass; BackupManager::_send()has becomegetEmailInstance().
2.1.2
- fixed
composer.json: the plugin requires at least version 3.4 of CakePHP.
2.1.1
afterExport(),afterImport(),beforeExport()andbeforeImportmethods
are now real events;- now you can choose if you want to redirects stderr to
/dev/null. This
suppresses the output of executed commands.
2.1.0
- added support for Postgres databases;
- all
export()andimport()methods have been moved to theDriverclass; - added
afterExport(),afterImport(),beforeExport()andbeforeImport
methods to theDriverclass; getCompression()andgetExtension()moved fromDrivertoBackupTrait
class, because these methods are not strictly related to the database engine
you are using;- removed
getValidExtensions()andgetValidCompressions()methods from
Driverclass, because extensions and compressions are the same for any
database engine; - removed
getDefaultExtension()method fromDriverclass, because the
default extension is the same for any database engine.
2.0.0
- the plugin has been renamed as
DatabaseBackup(cakephp-database-backup); - the code has been completely rewritten to work with drivers, so it can also
work with other database engines; - added support for Sqlite database;
- checks the return status code when it runs
mysqlandmysqldumpfrom the
command line.