Repository navigation
Release v0.0.17
Release v0.0.17: Interactive mode, enhanced reporting, database export, anonymization history, and Packagist SEO improvements
Changelog
Added
-
Interactive Mode: Step-by-step confirmation prompts for anonymization
- New
--interactiveor-ioption for thenowo:anonymize:runcommand - Summary display before starting anonymization
- Confirmation prompts for each entity manager
- Confirmation prompts for each entity before processing
- Shows entity details (table name, property count) in interactive mode
- Verbose mode shows property details (faker types) in interactive prompts
- Allows selective processing of entity managers and entities
- Improves safety and user control during anonymization
- New
-
Enhanced Reporting: Improved statistics and export capabilities
- New
--stats-csvoption to export statistics to CSV format - Success rate calculation and display (global and per-entity)
- Enhanced statistics tables with success rate column
- CSV export includes: global statistics, entity statistics, and property statistics
- Improved statistics display with more detailed metrics
- CSV format suitable for spreadsheet analysis and reporting
- Configurable output directory for statistics via
stats_output_dirconfiguration - Relative file paths automatically use configured output directory
- Absolute paths are used as-is for maximum flexibility
- New
-
Database Export Command: Export databases to files with optional compression
- New
nowo:anonymize:export-dbcommand for exporting databases - Supports MySQL (mysqldump), PostgreSQL (pg_dump), SQLite (file copy), and MongoDB (mongodump)
- Configurable output directory and filename patterns with placeholders
- Compression support: gzip, bzip2, zip (auto-detects available tools)
- Automatic
.gitignoremanagement to exclude export directory - Selective export: export specific connections or all connections
- Configurable via bundle configuration (
nowo_anonymize.export.*) - Filename pattern placeholders:
{connection},{database},{date},{time},{format} - Command-line options for overriding configuration
- Detailed export summary with file sizes and success/failure counts
- New
-
Configuration Enhancements:
- New
stats_output_dirconfiguration option for statistics export directory - New
exportconfiguration section for database export settings - All command help text moved to
#[AsCommand]attributes for better organization - Symfony Flex recipe updated with all new configuration options
- New
-
Anonymization History: Track and manage anonymization runs
- New
nowo:anonymize:historycommand to view and manage anonymization history - Automatic saving of anonymization run metadata after each execution
- List all anonymization runs with filtering options (limit, connection)
- View detailed information about specific runs
- Compare two anonymization runs side-by-side
- Cleanup old runs to manage storage
- History stored in JSON format with index file for quick access
- Configurable history directory via
history_dirconfiguration option - Includes metadata: environment, PHP version, Symfony version, command options
- Comparison shows differences in entities processed, updated, and duration
- New