Releases: mirko-pagliai/cakephp-database-backup
Releases · mirko-pagliai/cakephp-database-backup
2.6.6
- tests have been optimized and speeded up;
- APIs are now generated by
phpDocumentorand no longer byapigen.
2.6.5
- little fixes.
2.6.4
- little fixes for
BackupManagerandBackupExportclasses; - added tests for lower dependencies;
- improved exception message when no binary file is found;
- no longer uses the
Folderclass.
2.6.3
- little fixes.
2.6.2
- added
BackupTrait::getDriverName()method; BackupExport::compression()takes a compression type name as string or
nullto disable compression;BackupExport::send()takes a recipient's email address as string ornull
to disable sending backup;BackupTrait::getCompression()returnsnullwith no compression;- the
DriverTestCaseclass now implementstestExportOnFailure()and
testImportOnFailure()test methods; - improved printing of the backup table for the
IndexCommand; - updated for
php-tools1.2 andme-tools2.18.7. - added API.
2.6.1
- added
DriverTestCase::getMockForDriver()method; DriverTestCase::allRecords()method renamed asgetAllRecords();- many small code fixes;
- requires
me-toolspackage for dev; - removed
ConsoleIntegrationTestTrait, because it is now sufficient to use the
same trait provided byme-tools; - updated for
php-tools1.1.12.
2.6.0
BackupShellhas been replaced with console commands. Every method of the
previous class is now aCommandclass;BackupManager::index()returns a collection of backups;ConsoleIntegrationTestCasehas been replaced byConsoleIntegrationTestTrait.
TestCaseTraithas been removed and its methods moved toTestCase;- removed
DATABASE_BACKUPconstant; - updated for CakePHP 3.7.
2.5.1
- updated for CakePHP 3.6 and 3.7. Added
Pluginclass; - many small code fixes.
2.5.0
- now it uses the
mirko-pagliai/php-toolspackage. This also replaces
mirko-pagliai/reflection; - removed
BackupTrait::getClassShortName()method. The
get_class_short_name()global function will be used instead.
2.4.0
- fixed bug trying to email a nonexistent backup;
VALID_COMPRESSIONSandVALID_EXTENSIONSconstants have been replaced by
getValidCompressions()andgetValidExtensions()methods provided by the
BackupTraitclass;- replaced
InternalErrorExceptionwithInvalidArgumentExceptionand
RuntimeException. This allows compatibility with CakePHP 3.6 branch.