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_size
andCONFIG.Logging.backup_count
- Added configurable log format settings:
CONFIG.Logging.date_format
andCONFIG.Logging.format
- Added configurable console settings:
CONFIG.Logging.console_width
andCONFIG.Logging.show_path
- Added
CONFIG.Logging.Colors
nested 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.stdout
instead ofsys.stderr
for 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 = True
andCONFIG.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.level
andCONFIG.apply()
. Will be removed in version 3.0.0.
🔥 Removed
- Removed unused
config.merge_configs
function from configuration module
👷 Development
- Greatly expanded test coverage for
config.py
module - Added
@pytest.mark.xdist_group
toTestConfigModule
tests to prevent global config interference
← Previous: 2.1.11 | Next: 3.0.0 → | 📋 All Releases | 🏷️ GitHub Release