Tags: dvershinin/lastversion
Tags
Release v3.6.0 - Release data cache with configurable TTL and Redis s… …upport Features: - Release data cache to bypass HTTP requests for cached repos (#166) - Configuration file support (~/.config/lastversion.yml) - Optional Redis cache backend (pip install lastversion[redis]) - Automatic cache cleanup with configurable interval - Network fallback: use stale cache when API fails - Cache CLI commands: info, cleanup - --cache-ttl CLI option - Bandit security scanning in pre-commit Fixes: - Config singleton now uses deep copy (prevent shared state)
Add support for special NGINX repository URL Introduce KNOWN_REPO_URLS feature in GitHub repo holder to handle special repository URLs. Add a test case for verifying source URL for NGINX in `test_github.py`. Move the NGINX test from Mercurial tests to GitHub tests to maintain consistency.
Enhance date logging and logic for version selection Updated tag date logging to include specific dates and modified version selection logic to handle cases with minimal time differences. Additionally, added more informative logging to clarify selected versions.
Refactor GraphQL function in github.py The GraphQL search function in github.py has been refactored to improve its readability and maintainability. Unnecessary information has been removed from the GraphQL query. Moreover, the variables are now properly passed into the query, removing the need for string formatting.
PreviousNext