All notable changes will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Added flags required for newer versions of MySQL defaults to ensure mysqldump works without required elevated permissions (no backwards-compatibility issues as the flags exists for previous versions too)
Added Command Line only Support for SSL connections to the database. An optional parameter, db-ssl-ca, is now usable on commandline. Expects Path to SSL CA e.g. /etc/ssl/my-cert.pem
- [backward incompatible] hyphens are no longer allowed in variable names in yaml files
- an empty config file can no longer be created via the configure method
- [backward incompatible] data bucket config name modified to reflect the fact that it denotes the bucket where the anonymised exports will be kept
- updated to version 1.8.5 of guzzlehttp/psr7
- ls command can now be run with either an anonymised data bucket or just a bucket config, it will just display the exports for whichever one is configured.
- added option to host the anonymised data in a different region from the stripped data
Issues with PHP 8 compatibility
Compatibility with PHP < 7.4
- The
s_core_customergroups*
tables are no longer removed from when using theplatform_shopware
table group.
- Additional tables that are not required for local development environments have been added to
platform_shopware
to minimmise database sizes.
- New command
view-config
to dump the current YAML configuration to stdout. - Added
platform_shopware
andplatform_magento_one
table groups because we're using this for more than just Magento 2.x!
- BREAKING: Renamed
tmp_dir
configuration option totmp-dir
. - BREAKING: All MySQL interactions now use
utf-8
as the default charset, potentially making backups created with an older versions unimportable. Use--download-only
and import manually if you run into this or update on your server andput
a new database backup. - The
configure
command now presents the user will files to edit and a preview of the changes before writing to file. - Updated table groups from netz98/n98-magerun2 for Magento 2.x.
- The
--project-config
option is now respected and the configuration file is loaded at the correct time. - The merging of indexed based configuration items (like adding new table groups) is now fixed.
- The put command no longer performs Magento 2 discovery if the required database options are specified as command-line parameters.
- The admin table strip group no longer removes administrator roles, only users.
- Strip
DEFINER
fromCREATE TRIGGER
statements. - Don't allow blank
--db-*
options.
- Support to
export
andimport
anonymised data. - Project level configuration so that you can include a
.magedbm2.yml
in your repository.
- No longer requires magerun
- Initial release.