Skip to content

Releases: makinacorpus/DbToolsBundle

2.0.0

03 Mar 15:01
Compare
Choose a tag to compare

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 by anonymization_files (#191).
  • excluded_tables is replaced by either backup_excluded_tables or connections.NAME.backup_excluded_tables (#191).
  • storage.filename_strategy is replaced by either storage_filename_strategy or connections.NAME.filename_strategy (#191).
  • storage.root_dir is replaced by either storage_directory or connections.NAME.storage_directory (#191).

Breaking changes

  • backupper_binaries (array) is replaced by either backup_binary (string) or connections.NAME.backup_binary (string) (#191).
  • backupper_options (array) is replaced by either backup_options (string) or connections.NAME.backup_options (string) (#191).
  • restorer_binaries (array) is replaced by either restore_binary (string) or connections.NAME.restore_binary (string) (#191).
  • restorer_options (array) is replaced by either restore_options (string) or connections.NAME.restore_options (string) (#191).
  • Password anonymizer symfony/password-hasher dependency is now optional and must be manually installed (#155).

Bugfixes

  • Property must not be accessed before initialization error when using --list option (#183, @iNem0o).

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

Full Changelog: 1.2.0...2.0.0

1.2.1

14 Jun 14:31
Compare
Choose a tag to compare

Bugfixes

  • [fix] Anonymization - Sample table creation fails if sample is too big with sqlsrv (#174)

1.2.0

28 May 13:26
Compare
Choose a tag to compare

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

28 Mar 11:03
Compare
Choose a tag to compare

New Features

Documentation updates

Internals

  • Backupper, Restorer, Anonymizator - Change the way we output information during processes (#103)
  • Backup and Restore Commands - Some internal code base refactorings (#100, #104)