Skip to content

Releases: dvershinin/lastversion

v3.6.0

18 Dec 22:05
905da32

Choose a tag to compare

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-ttl CLI 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 hours

v3.5.12

07 Dec 11:26
b9997c5

Choose a tag to compare

Fixed

  • Fixed UnicodeEncodeError in --help on systems with LANG=C (affects EL7 RPM builds)
  • Fixed IndentationError in utils.py (architecture filtering)

Full Changelog: v3.5.10...v3.5.12

v3.5.11

07 Dec 11:24
a4feb33

Choose a tag to compare

Fixed

  • Fixed UnicodeEncodeError in --help on systems with LANG=C (affects EL7 RPM builds)

Full Changelog: v3.5.10...v3.5.11

v3.5.10

07 Dec 10:27
3478908

Choose a tag to compare

Added

  • Bulk input option -i / --input-file to 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 commit support #59
  • Spec file %global lastversion_sem for semver constraints #26
  • Spec file License: tag auto-update from upstream SPDX license #26
  • Cache management: lastversion cache clear command #126
  • Codeberg support (recognized as Gitea instance) #174
  • Truststore integration for custom SSL certificates #175
  • GitLab asset digest support in JSON output #193
  • .7z archive extraction support (optional py7zr dependency) #98
  • Expanded SPDX license mappings (80+ licenses) #74

Fixed

  • Architecture filtering for install command 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

26 Oct 04:02
61ee2ee

Choose a tag to compare

Full Changelog: v3.5.7...v3.5.8

v3.5.7

09 Nov 09:14
3f4ee40

Choose a tag to compare

Raised timeout for downloads to 30 seconds #173

v3.5.6

10 Sep 17:35
280db8e

Choose a tag to compare

Fixed

  • Known NGINX repo has been moved to GitHub

v3.5.5

27 Aug 16:20
f8843c8

Choose a tag to compare

Fixed

  • Fixed some GitHub API nuances and incorrect versions returned #168

v3.5.4

27 Jul 11:32
a302d65

Choose a tag to compare

Fixed

  • Introduced timeout of 30 seconds for HTTP requests to avoid hanging on slow connections

v3.5.3

15 Jul 07:43
3073d21

Choose a tag to compare

Fixed

  • Added a special case of normalizing service pack versions, e.g. 15 SP6 to 15.post6