Release v2.0.0
What's Changed
Added
- New automated test reporting setup:
- pytest.ini config to generate JUnit XML (reports\junit.xml) and coverage reports (XML and HTML in reports)
- Added pytest-cov to dev dependencies; documented in README
- Configuration via TOML using ConfZ with structured sections:
- [generator]: probabilities and distributions for entity types, WID features, and person reuse
- [downloader]: defaults for Bundesbank download (format, cache_dir, force_download, no_version_check)
- [cli]: defaults for count, seed, output_format, output path and common flags (no_echo, iban_only, no_personal_info, no_bank_info, clean, no_color)
- New CLI options:
--show-config-pathto print the effective default config path--config-dirto influence where config files are searched/written (used with subcommands)
- New subcommand:
gen-ibans initto create a commented defaultconfig.toml(respects the top-level--config-dirwhen provided)
- Colorized CLI help with highlighted option group headers for improved readability
Changed
- CLI structure: switched to subcommands. The former top-level command is now
gen-ibans gen, andgen-ibans-init-configis nowgen-ibans init. - Standard config file switched from JSON to TOML; existing
config.jsonfiles remain supported for backward compatibility - Config file search path now prioritizes the current working directory and then the user config directory
- Help output: option group headers (click-option-group) are now highlighted consistently
- Output examples and documentation updated to reflect current JSON, CSV, and XML structures
- XML Output Format: Updated XML structure for better consistency
- Root element changed from
<ibans>to<accounts> - Individual entries changed from
<iban><number>to<account><iban> - Maintains backward compatibility in terms of data content
- Root element changed from
- Added MIT license header to all newly added source and test files
Fixed
- Robust handling of config loading with ConfZ fallback to manual parsing; graceful failure on malformed configs
- Improved stdout coloring control with
--no-colorand--clean
Updated
- Dependencies: Added ConfZ and PlatformDirs; updated typing-extensions and related transitive dependencies
Breaking Changes
- CLI now uses subcommands:
- Generation is
gen-ibans gen ...(wasgen-ibans ...). - Config initialization is
gen-ibans init(replaces separategen-ibans-init-config).
- Generation is
- Global options moved to the top-level: use
gen-ibans --config-dir ... <subcommand>andgen-ibans --show-config-path. - The former
gen-ibans gen --write-default-configoption was removed. Usegen-ibans init(optionally with--pathor top-level--config-dir). - Default config format is now TOML (
config.toml). Existingconfig.jsonfiles are still supported for backward compatibility, but new default files are written as TOML.
New Contributors
Full Changelog: v1.0.1...v2.0.0