Releases: mirko-pagliai/cakephp-database-backup
Releases · mirko-pagliai/cakephp-database-backup
2.10.2
- added tests for PHP 8.1;
- little fixes for phpstan, psalm and for the composer.json file.
What's Changed
- Develop by @mirko-pagliai in #84
Full Changelog: 2.10.1...2.10.2
2.10.1
- stable version;
- updated for
php-tools
1.5.8.
What's Changed
- now allows to configure and customize via bootstrap the executable co… by @mirko-pagliai in #77
- Develop export executable with compression by @mirko-pagliai in #78
- backtrack (compared to version
2.9.0
): all tracks are auto-discovered, by @mirko-pagliai in #79 - fixed some tests that produced false positives by @mirko-pagliai in #80
- Develop by @mirko-pagliai in #81
- Develop by @mirko-pagliai in #82
- Develop by @mirko-pagliai in #83
Full Changelog: 2.9.1...2.10.1
2.10.0-beta1
- now allows to configure and customize via bootstrap the executable commands to
import and export databases, for each driver, with placeholders; __exportExecutableWithCompression()
and_importExecutableWithCompression()
methods provided by theDriver
class have been removed and incorporated
into the new_getExportExecutable()
and_getImportExecutable()
;BackupTrait::$validExtensions
has been removed and replaced by the
DATABASE_BACKUP_EXTENSIONS
constant;- postgres and sqlite commands are also properly escaped;
- many little fixes and many code simplifications.
What's Changed
- now allows to configure and customize via bootstrap the executable co… by @mirko-pagliai in #77
- Develop export executable with compression by @mirko-pagliai in #78
- backtrack (compared to version
2.9.0
): all tracks are auto-discovered, by @mirko-pagliai in #79 - fixed some tests that produced false positives by @mirko-pagliai in #80
- Develop by @mirko-pagliai in #81
Full Changelog: 2.9.1...2.10.0-beta1
2.9.2
- added
BackupTrait::getDriverName()
static method;getConnection()
and
getDriver()
methods are now static; - backtrack (compared to version
2.9.0
): all tracks are auto-discovered,
otherwise it would not be possible to change the connection you want to work
on on the fly; - fixed some tests that produced false positives.
What's Changed
- now allows to configure and customize via bootstrap the executable co… by @mirko-pagliai in #77
- Develop export executable with compression by @mirko-pagliai in #78
- backtrack (compared to version
2.9.0
): all tracks are auto-discovered, by @mirko-pagliai in #79 - fixed some tests that produced false positives by @mirko-pagliai in #80
Full Changelog: 2.9.1...2.9.2
2.9.1
- all shell arguments are now correctly escaped.
2.9.0
- now uses
symfony/process
to execute import and export shell commands. This
also allows for better handling of errors reported in the shell. The
DatabaseBackup.redirectStderrToDevNull
config key has been removed; - only the binaries needed for the database driver used are auto-discovered;
- tests are now only run for one driver at a time, by default
mysql
. You can
choose another driver by settingdriver_test
ordb_dsn
environment
variables before runningphpunit
; - migration to github actions.
2.8.6
- fixed bootstrap,
mkdir
errors are no longer suppressed; - extensive improvement of function descriptions and tags. The level of
phpstan
has been raised.
2.8.5
- ready for php
8.0
; - extensive improvement of function descriptions and tags.
2.8.4
BackupManager::delete()
returns the full path;- all methods provided by
BackupManager
can now be called statically, except
for thesend()
method; - extensive improvement of function descriptions and tags;
- ready for
phpunit
9.
2.8.3
- updated for
php-tools
1.4.5; - added
phpstan
, so fixed some code.