Skip to content

Releases: mirko-pagliai/cakephp-database-backup

2.10.2

21 Sep 16:42
b2d0fe0
Compare
Choose a tag to compare
  • added tests for PHP 8.1;
  • little fixes for phpstan, psalm and for the composer.json file.

What's Changed

Full Changelog: 2.10.1...2.10.2

2.10.1

05 Jan 18:51
08e069f
Compare
Choose a tag to compare
  • stable version;
  • updated for php-tools 1.5.8.

What's Changed

Full Changelog: 2.9.1...2.10.1

2.10.0-beta1

25 Nov 18:27
c6a9b92
Compare
Choose a tag to compare
2.10.0-beta1 Pre-release
Pre-release
  • 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 the Driver 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

Full Changelog: 2.9.1...2.10.0-beta1

2.9.2

25 Nov 18:26
Compare
Choose a tag to compare
  • 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

Full Changelog: 2.9.1...2.9.2

2.9.1

14 Oct 17:09
2d946f4
Compare
Choose a tag to compare
  • all shell arguments are now correctly escaped.

2.9.0

06 Oct 12:26
Compare
Choose a tag to compare
  • 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 setting driver_test or db_dsn environment
    variables before running phpunit;
  • migration to github actions.

2.8.6

16 Jul 16:11
beaa8c3
Compare
Choose a tag to compare
  • 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

29 Apr 16:33
f69acd0
Compare
Choose a tag to compare
  • ready for php 8.0;
  • extensive improvement of function descriptions and tags.

2.8.4

11 Feb 14:09
18e657b
Compare
Choose a tag to compare
  • BackupManager::delete() returns the full path;
  • all methods provided by BackupManager can now be called statically, except
    for the send() method;
  • extensive improvement of function descriptions and tags;
  • ready for phpunit 9.

2.8.3

26 Nov 15:52
b8e423e
Compare
Choose a tag to compare
  • updated for php-tools 1.4.5;
  • added phpstan, so fixed some code.