Skip to content

Release v0.6.2

Latest

Choose a tag to compare

@silvexis silvexis released this 29 Jul 02:31

Major Improvements

🏗️ Transmit Module Refactoring

  • Split monolithic DataTransmitter into focused components with single responsibilities
  • Introduced dependency injection for all components
  • Created protocol-based design with OutputHandler and Transmitter interfaces
  • Added test-friendly implementations: NullOutput, MockTransmitter, CollectingOutput
  • Comprehensive test suite with 27 new tests demonstrating improved testability
  • Full backward compatibility maintained

🧪 CI/CD Safe Testing

  • Updated all smoke tests to not require real database connections
  • All tests now safe for automated CI/CD pipelines
  • Mocked HTTP calls for transmit functionality testing

🔒 PII Obfuscation

  • Anonymized all names, emails, and API keys in test.sqlite
  • Updated create_test_sqlite.py script to generate only anonymized test data
  • Reviewed entire codebase to ensure no PII is present

🗄️ SQLite Support

  • Full SQLite database support for all operations
  • Proper URL parsing for sqlite:// connection strings
  • SQL syntax adaptation between PostgreSQL and SQLite

Bug Fixes

  • Fixed date filtering in SQLite implementation for data source strategies
  • Fixed CLI mode mapping to correctly handle 'today', 'yesterday', 'date-range' modes
  • Fixed CLI error handling to properly exit with error code when transmit fails
  • Fixed BatchAnalyzer to correctly group data by date in refactored transmit module

Testing

  • All 97 tests passing including new refactored transmit tests
  • SQLite integration fully tested with transmit functionality
  • All smoke tests are now CI/CD safe

Installation

pip install ll2cz==0.6.2

Full Changelog

See CHANGELOG.md for detailed changes.