Changelogs » Lastversion

PyUp Safety actively tracks 316,954 Python packages for vulnerabilities and notifies you when to upgrade.

Lastversion

2.3.4

* Added new `--format tag` switch to get just the latest release's tag name. Proven to be useful in
  some cases

1.2.6

Fixed
  * Ensure compatibility with older python packaging module found in CentOS 7

1.2.5

Fixed
  * Version checks and output for odd non-semantic tags, e.g. 1.1.1i (OpenSSL)

1.2.4

Fixed
  * Fixed waiting API quota reinstatement
  * Cache info about non-existent GitHub repositories

1.2.3

Fixed
  * Fixed `lastversion URL` introduced by regression from 1.2.1

1.2.2

Fixed
  * `--format json` and `--format assets` work for Non-GitHub projects

1.2.1

Added
  * `lastversion repo:branch` syntax, e.g. `lastversion php:7.2` or `lastversion nginx:mainline`
  Fixed
  * require feedparser version that works with Python 2

1.2.0

Added
  * New switch `--only` allows filtering projects in repos with multiple actual projects
  * Ability to sniff version from a software website which publishes releases in RSS/ATOM feeds 23
  * Ability to sniff version by discovering GitHub repository links on a software website 23
  Fixed
  * No longer messing with root logger, playing safe as a library (opt-in behavior when used as
  module)

1.1.8

Added
  * Fixed up `--major` constraint to work more correctly
  * Use GraphQL API (GitHub) when deep searching tags is required (faster `--major`)
  * Paginate across tags when a release matching constraints is not present in the feed (GitHub) 12
  * Simple Python interface for update checks: `lastversion.has_update(repo, current_version)`
  * Various fixes

1.1.7

Added
  * Aggregate older tags, up to one year, for better latest release detection (feed only)

1.1.6

Added
  * General improvements for releases detection
  * SourceForge projects support

1.1.5

Added
  * Better detection of post-releases, e.g. Magento 2.3.4-p2 is the latest *stable* release for the

1.1.4

Fixed
  * Fixed detecting non-GitHub repos and known URLs
  * Improved RPM install by checking with RPM db and avoiding unnecessary downloads absent updates

1.1.3

Fixed
  * Show error when no repo found (no results from search)
  * Added spec_tag_no_prefix to JSON output
  * Returning Null for license when it doesn't exist at release tag

1.1.2

Fixed
  * Require requests>=2.6.1 to compensate for cachecontrol bug

1.1.1

Fixed
  * Do not output progressbar when downloading and no TTY available, e.g. for log output

1.1.0

Added
  * Install action
  * Progressbar for download action, when download size is known

1.0.1

Fixed
  * Compatibility with older PyYAML

1.0.0

Changed
  * BREAKING release for Python consumers:
  The `latest` Python function now returns `Version` object instead of string, by default
  
  Added
  
  * `test` command to see how a given tag would be parsed as version:
  `lastversion test 'release-3_0_2'`
  * Limited GitLab support
  * Limited Mercurial web repos support
  * Limited BitBucket support
  * Use feeds where available, thus much much faster while still precise
  * Ability to pass `.yml` with `repo:` value inside. Other elements are merged into `--format json`
  output. More on the [wiki](https://github.com/dvershinin/lastversion/wiki/Use-in-automatic-RPM-building)
  on how useful it is