Skip to content

Releases: mirko-pagliai/cakephp-database-backup

2.6.6

24 Dec 12:04
c661133

Choose a tag to compare

  • tests have been optimized and speeded up;
  • APIs are now generated by phpDocumentor and no longer by apigen.

2.6.5

12 Sep 12:11
900cb7a

Choose a tag to compare

  • little fixes.

2.6.4

20 Aug 13:17
08e90b5

Choose a tag to compare

  • little fixes for BackupManager and BackupExport classes;
  • added tests for lower dependencies;
  • improved exception message when no binary file is found;
  • no longer uses the Folder class.

2.6.3

18 Jul 11:07
8a256e7

Choose a tag to compare

  • little fixes.

2.6.2

29 May 12:32
cf5b65a

Choose a tag to compare

  • added BackupTrait::getDriverName() method;
  • BackupExport::compression() takes a compression type name as string or
    null to disable compression;
  • BackupExport::send() takes a recipient's email address as string or null
    to disable sending backup;
  • BackupTrait::getCompression() returns null with no compression;
  • the DriverTestCase class now implements testExportOnFailure() and
    testImportOnFailure() test methods;
  • improved printing of the backup table for the IndexCommand;
  • updated for php-tools 1.2 and me-tools 2.18.7.
  • added API.

2.6.1

18 Jan 16:07
cbbf5db

Choose a tag to compare

  • added DriverTestCase::getMockForDriver() method;
  • DriverTestCase::allRecords() method renamed as getAllRecords();
  • many small code fixes;
  • requires me-tools package for dev;
  • removed ConsoleIntegrationTestTrait, because it is now sufficient to use the
    same trait provided by me-tools;
  • updated for php-tools 1.1.12.

2.6.0

15 Dec 10:57

Choose a tag to compare

  • BackupShell has been replaced with console commands. Every method of the
    previous class is now a Command class;
  • BackupManager::index() returns a collection of backups;
  • ConsoleIntegrationTestCase has been replaced by ConsoleIntegrationTestTrait.
    TestCaseTrait has been removed and its methods moved to TestCase;
  • removed DATABASE_BACKUP constant;
  • updated for CakePHP 3.7.

2.5.1

23 Oct 11:55
4c865ee

Choose a tag to compare

  • updated for CakePHP 3.6 and 3.7. Added Plugin class;
  • many small code fixes.

2.5.0

11 Apr 08:10
2599ff1

Choose a tag to compare

  • now it uses the mirko-pagliai/php-tools package. This also replaces
    mirko-pagliai/reflection;
  • removed BackupTrait::getClassShortName() method. The
    get_class_short_name() global function will be used instead.

2.4.0

14 Mar 10:08
1a69e01

Choose a tag to compare

  • fixed bug trying to email a nonexistent backup;
  • VALID_COMPRESSIONS and VALID_EXTENSIONS constants have been replaced by
    getValidCompressions() and getValidExtensions() methods provided by the
    BackupTrait class;
  • replaced InternalErrorException with InvalidArgumentException and
    RuntimeException. This allows compatibility with CakePHP 3.6 branch.