Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[0.1.1] - 2025-02-12
Added
- Declarative PII Registry: Introduced
PIIRegistryclass inpii.pyfor explicit sensitive field name tracking, complementing the heuristic keyword-based matching. - Enhanced Documentation:
- Comprehensive Google-style docstrings added to all core modules:
log_context,loguru_setup,phone,text,base_dto,exceptions, andsettings/base. - Added localized (EN/RU) documentation links and PyPI/License badges to
README.md. - Dependency Management: Added
loguruas an explicit optional dependency inpyproject.toml.
Changed
- PII Masking Logic: Refined
is_pii_fieldandmask_valueto prioritize explicit registry matches over heuristic keyword search. - Project Configuration: Updated
.gitignoreto include.claude/for modern AI tool support.
[0.1.0] - 2024-05-24
Added
- Project Structure: Initial setup of the core library as a standalone project.
- Advanced PII Protection:
- Implementation of
BaseDTOwith automated, recursive PII masking inreprandstr. - Keyword-based sensitive data detection (phone, email, name, address, notes).
- International Utilities:
normalize_phone: Robust normalization supporting+,00, and local German0formats.normalize_name: Smart capitalization preserving hyphens and spaces.TaskLogContext: Structured logging adapter for background tasks and operations.- Base Settings:
BaseCommonSettingswith standardized Redis URL generation and environment-aware flags. - Documentation:
- New Domain-Driven documentation standard (Architecture + API Reference).
- Bilingual support (EN/RU) with structural mirroring.
- Testing:
- Comprehensive unit test suite (27 scenarios) covering Core, Common, and Settings.
- Integration test for environment variable loading.
Changed
- Package Rename: Renamed package from
codex_toolstocodex_corefor better clarity. - Dependency Optimization:
logururemoved from mandatory dependencies.loguru_setupupdated with safe imports and clear installation instructions.- CI/CD:
- Switched GitHub Actions to use Node.js 24 (via
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24). - Updated Mypy paths to reflect the new package structure.
Security
- Integrated
bandit,pip-audit, anddetect-secretsinto the development lifecycle. - Standardized
quote_plususage for all infrastructure connection strings.