2.2.0 - 2025-10-11¶
← Previous: 2.1.11 | Next: 3.0.0 → | 📋 All Releases | 🏷️ GitHub Release
Summary: This release is a Configuration and Logging management release.
✨ Added¶
- Added
CONFIG.reset()method to restore configuration to default values - Added configurable log file rotation settings:
CONFIG.Logging.max_file_sizeandCONFIG.Logging.backup_count - Added configurable log format settings:
CONFIG.Logging.date_formatandCONFIG.Logging.format - Added configurable console settings:
CONFIG.Logging.console_widthandCONFIG.Logging.show_path - Added
CONFIG.Logging.Colorsnested class for customizable log level colors using ANSI escape codes (works with both standard and Rich handlers) - All examples now enable console logging to demonstrate proper logging usage
- Console logging now outputs to
sys.stdoutinstead ofsys.stderrfor better compatibility with output redirection
💥 Breaking Changes¶
- Console logging is now disabled by default (
CONFIG.Logging.console = False). Enable it explicitly in your scripts withCONFIG.Logging.console = TrueandCONFIG.apply() - File logging is now disabled by default (
CONFIG.Logging.file = None). Set a file path to enable file logging
♻️ Changed¶
- Logging and Configuration management changed
- Improved default logging colors: DEBUG is now gray (
\033[90m) for de-emphasized messages, INFO uses terminal default color (\033[0m) for clean output
🗑️ Deprecated¶
change_logging_level()function is now deprecated in favor ofCONFIG.Logging.levelandCONFIG.apply(). Will be removed in version 3.0.0.
🔥 Removed¶
- Removed unused
config.merge_configsfunction from configuration module
👷 Development¶
- Greatly expanded test coverage for
config.pymodule - Added
@pytest.mark.xdist_grouptoTestConfigModuletests to prevent global config interference
← Previous: 2.1.11 | Next: 3.0.0 → | 📋 All Releases | 🏷️ GitHub Release