Releases: makinacorpus/DbToolsBundle
Releases · makinacorpus/DbToolsBundle
2.0.0
New Features
- 🌟 PHP 8.4 support (#186).
- 🌟 Add
bin/db-tools
CLI command allowing standalone usage (#153) @pounard - 🌟 Add an experimental Laravel integration (#206) @Lonnytunes
- ⭐️ All global options can now be configured on a per-connection basis in
connections.NAME.OPTION
(#191). - ⭐️ In both CLI and Symfony, the
anonymyzation
configuration option may now directly hold the complete anonymization configuration without requiring an additional file. (#191). - Documentation updates @SimonMellerin
Deprecations
anonymization.yaml
is replaced byanonymization_files
(#191).excluded_tables
is replaced by eitherbackup_excluded_tables
orconnections.NAME.backup_excluded_tables
(#191).storage.filename_strategy
is replaced by eitherstorage_filename_strategy
orconnections.NAME.filename_strategy
(#191).storage.root_dir
is replaced by eitherstorage_directory
orconnections.NAME.storage_directory
(#191).
Breaking changes
backupper_binaries
(array) is replaced by eitherbackup_binary
(string) orconnections.NAME.backup_binary
(string) (#191).backupper_options
(array) is replaced by eitherbackup_options
(string) orconnections.NAME.backup_options
(string) (#191).restorer_binaries
(array) is replaced by eitherrestore_binary
(string) orconnections.NAME.restore_binary
(string) (#191).restorer_options
(array) is replaced by eitherrestore_options
(string) orconnections.NAME.restore_options
(string) (#191).- Password anonymizer
symfony/password-hasher
dependency is now optional and must be manually installed (#155).
Bugfixes
Internals
- All Doctrine related dependencies are now optional (#155).
- Move Symfony related code into the
src/Bridge/Symfony
folder and associated namespace (#155). - More efficient anonymizer pack lookup (#165).
- Temporary tables and join columns for anonymization have their name changed to reduce conflict probability with user tables and columns.
New Contributors
- @AntoineAresu made their first contribution in #170
- @maxhelias made their first contribution in #169
- @axzx made their first contribution in #176
- @Chris53897 made their first contribution in #177
- @magi-web made their first contribution in #182
Full Changelog: 1.2.0...2.0.0
1.2.1
1.2.0
New Features
- ⭐️ Add Doctrine DBAL 4.0 compatibility (#140).
- ⭐️ Add Doctrine ORM 3.0 compatibility as a side effect of Doctrine DBAL 4.0 support (#140).
- ⭐️ Anonymization - Add Doctrine Embeddables support (#105).
- ⭐️ Anonymization - Add Doctrine entity joined inheritance support (#160)
- ⭐️ Anonymization - Finalized and improved IBAN/BIC anonymizer (#4)
Bugfixes
- Restored MySQL 5.7 support (#124)
Internals
- Remove
doctrine/dbal
dependency from all code except the database session registry (#142). - Introduce
DatabaseSessionRegistry
as single entry point for plugging-in database (#142). - Use
makinacorpus/query-builder
schema manager for DDL alteration (#140). - Raise
makinacorpus/query-builder
dependency to version 1.5.5 (#140). - Many improvements in local/CI
./dev.sh
test script.
1.1.0
New Features
- ⭐️ Add DateAnonymizer
- Anonymizers - Add options validation method
- ⭐️ FloatAnonymizer - Add possibility to anonymize value by adding noise
- ⭐️ Add ConstantAnonymizer
- ⭐️ Add NullAnonymizer
- LoremIpsumAnonymizer - Add some customization options
- ⭐️ IntegerAnonymizer - Add possibility to anonymize value by adding noise
- Backup and Restore Commands - Make usage and management of default and extra options more convenient
- ⭐️ Backup and Restore Commands - Allow to provide custom options for backup and restoration tasks
- Anonymize Command - Make output more compact in none-verbose mode
- ⭐️ Storage - Add filename strategy customization