Releases: dvershinin/lastversion
Releases · dvershinin/lastversion
v3.6.0
Release v3.6.0 - Release data cache with configurable TTL and Redis support
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 or rate limits exceeded
- Cache CLI commands:
lastversion cache info,lastversion cache cleanup --cache-ttlCLI option to override cache TTL per-request- Bandit security scanning in pre-commit hooks
Fixes
- Config singleton now uses deep copy to prevent shared state between instances
Configuration Example
# ~/.config/lastversion.yml
cache:
release_cache:
enabled: true
ttl: 3600 # 1 hour
backend: file # or 'redis'
file:
max_age: 86400 # 24 hoursv3.5.12
Fixed
- Fixed UnicodeEncodeError in
--helpon systems withLANG=C(affects EL7 RPM builds) - Fixed IndentationError in utils.py (architecture filtering)
Full Changelog: v3.5.10...v3.5.12
v3.5.11
Fixed
- Fixed UnicodeEncodeError in
--helpon systems withLANG=C(affects EL7 RPM builds)
Full Changelog: v3.5.10...v3.5.11
v3.5.10
Added
- Bulk input option
-i/--input-fileto process multiple repos from a file #178 - Semver constraints for
-gt: exit code 4 when newer version outside constraint #43 - Commit-based spec file updates with
%global commitsupport #59 - Spec file
%global lastversion_semfor semver constraints #26 - Spec file
License:tag auto-update from upstream SPDX license #26 - Cache management:
lastversion cache clearcommand #126 - Codeberg support (recognized as Gitea instance) #174
- Truststore integration for custom SSL certificates #175
- GitLab asset digest support in JSON output #193
.7zarchive extraction support (optionalpy7zrdependency) #98- Expanded SPDX license mappings (80+ licenses) #74
Fixed
- Architecture filtering for
installcommand on aarch64 #117 - Prefer native packages (RPM/deb) over AppImages when installing
- GitLab instances with non-standard ports now work correctly #170
- GitLab packages are now returned as assets #184
- Python 3.6 compatibility (type hints, dependency markers)
Full Changelog: v3.5.8...v3.5.10
v3.5.8
Full Changelog: v3.5.7...v3.5.8
v3.5.7
v3.5.6
Fixed
- Known NGINX repo has been moved to GitHub
v3.5.5
v3.5.4
Fixed
- Introduced timeout of 30 seconds for HTTP requests to avoid hanging on slow connections
v3.5.3
Fixed
- Added a special case of normalizing service pack versions, e.g.
15 SP6to15.post6