Release Notes

1.7.0 (2023-01-26)

Features

  • Delete all versions throws 504 Gateway Timeout (#1468)

  • Migrate to Bootstrap 5 (#1504)

Bug Fixes

  • Fix Python versioning parse doesn’t return string (#1402)

Development Changes

  • Use npm for javascript package management (#1504)

  • Improve Vagrant Development Environment (#1520)

Other Changes

  • Use anitya.project.version.remove.v2 instead of anitya.project.version.remove (PR#1495)

Contributors

Many thanks to the contributors of bug reports, pull requests, and pull request reviews for this release:

  • Nikita Bugrovsky

  • Michal Konečný

1.6.0 (2022-10-05)

API Changes

  • Add missing optional parameters to the POST /api/v2/projects/ API endpoint. (#1463)

  • Fix handling of JSON requests in API v2 (#1464)

Features

  • Created SourceHut backend. (#999)

  • Add configuration for distro links (#1066)

Development Changes

  • Migrate Anitya project to poetry (PR#1475)

  • Removed duplicated implementation of get_version on backends (#1453)

Other Changes

  • Migrate from dependabot to renovate (PR#1459)

Contributors

Many thanks to the contributors of bug reports, pull requests, and pull request reviews for this release:

  • Fabio Valentini

  • Erol Keskin

  • Michal Konečný

1.5.1 (2022-09-02)

Bug Fixes

  • Fix wrong url replacement in GitHub backend. (PR#1449)

Contributors

Many thanks to the contributors of bug reports, pull requests, and pull request reviews for this release:

  • Erol Keskin

1.5.0 (2022-08-30)

API Changes

  • /api/v2/packages/ endpoint now returns latest version info too. (#1442)

Features

  • Add Ubuntu links to project page. (PR#1403)

  • Add cgit backend (#1037)

  • Add Gogs backend (#1222)

Bug Fixes

  • Fixed version check url for GitHub projects those marked with “Check releases instead of tags” (#1013)

  • Folder backend returns wrong version (#1286)

  • Saved “Version scheme” value is not loaded (#1389)

Contributors

Many thanks to the contributors of bug reports, pull requests, and pull request reviews for this release:

  • Erol Keskin

  • Michal Konečný

  • Steve Beattie

1.4.1 (2022-07-04)

Bug Fixes

  • Empty versions obtained for some projects (PR#1401)

  • Internal server errors occurring at release-monitoring (#1390)

1.4.0 (2022-06-21)

API Changes

Features

  • Add link to AlmaLinux package to distribution mapping (PR#1386)

  • Add sourceforge (git) backend to retrieve git tags (#223)

  • Add Python (PEP 440) versioning scheme (#1015)

Bug Fixes

  • KeyError: ‘releases’ on pypi backend (#1387)

  • Fix documentation and javascript issues (PR#1144)

  • Better error message when GitHub token is missing (PR#1182)

  • Only include unyanked crate versions (PR#1272)

  • Only include unyanked PyPI versions (PR#1334)

  • Version Filter not applied on Test Check (#1143)

  • Downgrade Sphinx to compatible version 4.0.3 (#1148)

  • Intermediate versions are skipped while update checking (#1273)

  • Thread timeout in check_service (#1284)

Development Changes

  • Introduced static-type checking through inclusion of mypy in tox. Removed 3.6 and 3.7 from the list of supported python versions. (PR#1114)

  • Migrate to cloud-fedora-35 container on CI (PR#1296)

  • Update development environments to Fedora 36 (PR#1380)

  • Separate Anitya fedora messaging schema to https://github.com/fedora-infra/anitya-messages (#RP1347)

  • Create podman/docker infrastructure for containerized workflow (#936)

  • Support for Python 3.9 (#1151)

  • Update CI pods to newer Fedora (#1288)

  • Add support for Python 3.10 (#1300)

Contributors

Many thanks to the contributors of bug reports, pull requests, and pull request reviews for this release:

  • Anatoli Babenia

  • Adam Saleh

  • Carl George

  • Jerry James

  • Lenka Segura

  • Michael Scherer

  • Michal Konečný

  • Nikita Bugrovsky

  • Onur

  • mehmet

  • Otto Urpelainen

  • Petr Viktorin

1.3.0 (2021-03-19)

Features

  • Add PLD Linux package link to project page. (PR#1065)

  • Make the default regex pull in rc/alpha (#1063)

Bug Fixes

  • Remove Google code backend (#1068)

Contributors

Many thanks to the contributors of bug reports, pull requests, and pull request reviews for this release:

  • Elan Ruusamäe

1.2.0 (2021-03-15)

Features

  • Link Fedora packages to their source (#557)

Bug Fixes

  • Unstable releases don’t show up in folder backend (#1056)

Contributors

Many thanks to the contributors of bug reports, pull requests, and pull request reviews for this release:

  • Anatoli Babenia

1.1.3 (2021-03-08)

Bug Fixes

  • Fix version_filter on GitHub backend (#1042)

1.1.2 (2021-03-05)

Bug Fixes

  • Fix the stackage backend regex (#1010)

  • Crash when release doesn’t have tag associated in GitHub backend (#1029)

Contributors

Many thanks to the contributors of bug reports, pull requests, and pull request reviews for this release:

  • supzi-del

1.1.1 (2021-02-21)

Bug Fixes

  • Stable versions in the APIs are sent with prefix (#1026)

1.1.0 (2021-02-19)

API Changes

  • Add stable_versions field to APIv1 and APIv2 (#1014)

Features

  • Don’t add project to check queue if they belong to blacklisted backend (#888)

1.0.1 (2021-02-12)

Bug Fixes

  • GitHub backend not retrieving new versions because of unknown cursor (#1016)

1.0.0 (2021-01-20)

API Changes

  • Add versions resource to API v2 (#491)

  • API v1 api/version/get is now returning only versions field instead of whole project when no version is retrieved (#898)

Features

  • Add missing methods to fedora messaging schema (version 1.1.0) (PR#906)

  • Add preview mode (#491)

  • Allow removing all versions at once (admin only) (#623)

  • Implement fedmsg meta methods in fedora messaging schema (#752)

  • Flag pre-release versions (#753)

  • Anitya should report every found version, not only latest (#774)

  • Add option to archive and unarchive project (admin only) (#865)

  • Add version filter to project (#898)

Bug Fixes

  • Yahoo OpenId no longer exists in social_auth library (PR#1005)

  • GitHub backend: Failure with error “No upstream version found” when the project has no new version (#892)

  • sar.py fails with AttributeError: ‘User’ object has no attribute ‘social_auth’ (#954)

Development Changes

  • Enhance check_service log output (PR#886)

  • Move Anitya from release-monitoring organization to fedora-infra (PR#887)

  • Fix documentation build (PR#902)

  • Freeze version of dependencies (PR#903)

  • Fix service name in vagrant provisioning script (PR#940)

  • Add Flask to ReadTheDocs build requirements (PR#946)

  • Add pyasn1 to RTD build requirements (PR#947)

  • Add support for Python 3.8 (PR#979)

  • Make vagrant environment more like production (#924)

Other Changes

  • Add guidelines for admins on release-monitoring.org (PR#964)

  • Add social auth info to SAR script (PR#970)

  • Completely remove fedmsg. (#737)

  • Add stable_versions field to project.version.update message (#753)

  • Fedora messaging schema 2.0.0 - new topic anitya.project.version.update.v2 (#774)

  • Rewrite projects pages (#885)

  • Update documentation to reflect current state (#972)

Contributors

Many thanks to the contributors of bug reports, pull requests, and pull request reviews for this release:

  • Anatoli Babenia

  • luto

  • Michal Konečný

  • Olivier Lemasle

  • Philippe Ombredanne

0.18 (2020-01-13)

API Changes

  • Filters in APIv2 are now case insensitive (#807)

Features

  • Automatically delete projects without versions that reached configured error threshold (PR#865)

  • GitHub: Store and use latest known version cursors (PR#873)

  • Link to commit of latest version if known (PR#874)

  • Use dropdown field for distro when on Add project form (#777)

  • Add error counter to project (#829)

  • Add timeout option for check service (#843)

  • Strip whitespaces from version when removing prefix (#866)

Bug Fixes

  • Fix crash on GNU, Crates and Folder backends (PR#837)

  • Fix OOM issue with check_service (PR#842)

  • Removed duplicate search form from project search result page (PR#877)

  • Fix accessing projects in GitLab subgroups (PR#884)

  • Database schema image is missing in documentation (#692)

  • Current page is forgotten on login (#713)

  • If URL is changed, update ecosystem value as well (#764)

  • Tooltips are not working on Firefox 68 (#813)

  • Use tag name instead of release name for projects, which are checking only releases (#845)

  • Can’t disable “Check releases instead of tags” checkbox when editing project (#855)

  • Allow no delimiter in calendar versioning pattern (#867)

  • Distro search is broken (#876)

Development Changes

  • Use DEBUG level log for development (PR#826)

  • Add Dependabot configuration file (PR#844)

  • Bump Vagrant box to Fedora 31 (PR#858)

  • Mock the Fedora Messaging calls in the unit tests (PR#860)

  • Make black show diff of needed changes (PR#878)

  • Make log output from check_project_release more readable (#828)

Contributors

Many thanks to the contributors of bug reports, pull requests, and pull request reviews for this release:

  • Anatoli Babenia

  • Aurélien Bompard

  • Nicholas La Roux

  • Michal Konečný

  • Nils Philippsen

0.17.2 (2019-09-26)

Bug Fixes

  • Fix crash on GNU, Crates and Folder backends (PR#837)

  • Fix OOM issue with check_service (PR#842)

Contributors

Many thanks to the contributors of bug reports, pull requests, and pull request reviews for this release:

  • Michal Konečný

0.17.1 (2019-09-09)

Bug Fixes

  • Final info message in check service using error counter instead ratelimit counter (PR#823)

  • No error was shown when check_service thread crashed (PR#824)

  • Crash when sorting versions with and without date when looking for last retrieved version (PR#825)

  • Crash when calling FTP url (PR#833)

  • Latest version is not updated when version is removed from web interface (#830)

  • GitHub response 403 doesn’t have ratelimit reset time (#832)

Contributors

Many thanks to the contributors of bug reports, pull requests, and pull request reviews for this release:

  • Michal Konečný

0.17.0 (2019-09-03)

Features

  • Adhere to black’s Python 3.6 formatting rules (PR#818)

  • Support multiple version prefixes (#655)

  • Make libraries.io SSE consumer part of Anitya (#723)

  • Check for new versions only when there is any change on the URL till last version was retrieved (#730)

  • Allow fetching releases on Github backend (#733)

  • Add calendar versioning (#740)

  • Add semantic versioning (#741)

Bug Fixes

  • Restore missing closing “”” in sample configuration (PR#797)

  • Constrain failure during alembic downgrade (PR#812)

  • Fix createdb.py to now create all tables properly (PR#817)

  • Hide ecosystem field for non admin users (#687)

  • Failures during project addition causes distro mapping to be skipped (#735)

  • Handle status code 403 as rate limit exception on Github backend (#790)

  • Cannot add distro (#791)

  • One revision is skipped when doing alembic upgrade head (#819)

Development Changes

  • Add docker build to Travis CI tests (PR#799)

  • Change required version for pyasn1 (PR#812)

  • Minor packaging cleanup and gitignore additions (PR#816)

  • Fix rabbitmq-server in dev environment (#804)

Contributors

Many thanks to the contributors of bug reports, pull requests, and pull request reviews for this release:

  • Anatoli Babenia

  • Michal Konečný

  • Samuel Verschelde

  • Vincent Fazio

0.16.1 (2019-07-16)

Bug Fixes

  • Check service: Counters saved to database are always 0 (#795)

Development Changes

  • Fix issue with documentation build (#789)

Contributors

Many thanks to the contributors of bug reports, pull requests, and pull request reviews for this release:

  • Michal Konečný

0.16.0 (2019-06-24)

Features

  • Turn Anitya cron job to service (#668)

Bug Fixes

  • Error 500 when opening distro page (#709)

  • “Edit” form for Distro Mapping forgets the distributions (#744)

  • anitya.project.map.new not send when adding new mapping through APIv2 (#760)

Development Changes

  • Add new dependency ordered_set (#668)

  • Add diff-cover to tox testing suite (#782)

Contributors

Many thanks to the contributors of bug reports, pull requests, and pull request reviews for this release:

  • Michal Konečný

0.15.1 (2019-03-06)

Bug Fixes

  • Fix topic for fedora_messaging (PR#750)

Development Changes

  • Check formatting using black (PR#725)

  • Remove gunicorn dependency (PR#742)

Other Changes

  • Add sample configuration for Fedora Messaging (#738)

Contributors

Many thanks to the contributors of bug reports, pull requests, and pull request reviews for this release:

  • Michal Konečný

0.15.0 (2019-02-20)

Features

  • Convert to Fedora Messaging (PR#570)

Bug Fixes

  • Release notes point to fedora-messaging (#699)

  • Javascript error on add project page (#714)

  • Changed copyright datum on frontpage to 2013-2019 (#721)

  • Invalid User-Agent (#729)

Development Changes

  • Rename Vagrantfile.example to Vagrantfile (PR#715)

  • Introduce bandit to tox tests (PR#724)

Other Changes

  • Added example of usage in contribution guide. (PR#719)

  • Fix URL to fedmsg website on index.html to use the correct website URL (PR#722)

Contributors

Many thanks to the contributors of bug reports, pull requests, and pull request reviews for this release:

  • Jeremy Cline

  • AsciiWolf

  • Zlopez

  • Michal Konečný

  • Neal Gompa

  • Yaron Shahrabani

0.14.1 (2019-01-17)

Features

  • Show raw version on project page for admins (PR#696)

Bug Fixes

  • Libraries.io consumer is replacing topic_prefix for Anitya (PR#704)

  • Release unlocked lock in cronjob (PR#708)

  • Comparing by dates created version duplicates (#702)

Development Changes

  • Remove Date version scheme (PR#707)

Contributors

Many thanks to the contributors of bug reports, pull requests, and pull request reviews for this release:

  • Anatoli Babenia

  • Michal Konečný

0.14.0 (2019-01-08)

Features

  • Add delete cascade on DB models (PR#608)

  • Logs table is replaced by simple status on project (PR#635)

  • Update form for adding new distributions (PR#639)

  • Refresh page after full check (PR#670)

  • Show URL for version check on project UI (#549)

  • Link to backend info from project view and edit pages (#556)

  • Retrieve all versions, not only the newest one (#595)

  • Add rate limit handling (#600)

  • Basic user management UI for admins (#621)

  • Rate limit enhancements (#665)

  • Add ecosystem information to project.version.update fedmsg topic. (#666)

Bug Fixes

  • Fix unhandled exception in GitLab backend (PR#663)

  • Can’t rename mapping for gstreamer (#598)

  • Source map error: request failed with status 404 for various javascript packages (#606)

  • about#test-your-regex link is broken (#628)

  • Github backend returns reversed list (#642)

  • Version prefix not working in GitLab backend (#644)

  • Latest version on Project UI is shown with prefix (#662)

  • Crash when version is too long (#674)

Development Changes

  • Add python 3.7 to tox tests (PR#650)

  • Update Vagrantfile to use Fedora 29 image (PR#653)

  • Drop support for python 2.7 and python 3.5 (PR#672)

Other Changes

  • Update contribution guide (PR#636)

  • Add GDPR SAR script (PR#649)

  • Add supported versions of python to setup script (PR#651)

Contributors

Many thanks to the contributors of bug reports, pull requests, and pull request reviews for this release:

  • Anatoli Babenia

  • Graham Williamson

  • Jeremy Cline

  • Michal Konečný

0.13.2 (2018-10-12)

Features

  • Show users their ID on Settings page (PR#631)

  • Add sorting by creation date for versions (#593)

Bug Fixes

  • Can’t parse owner/repo on Github backend (PR#632)

  • Login into staging using OpenID not possible (#616)

Development Changes

  • Add towncrier for generating release notes (PR#618)

  • Remove deprecations warning (PR#627)

  • Add documentation dependency to vagrant container (PR#630)

Contributors

Many thanks to the contributors of bug reports, pull requests, and pull request reviews for this release:

  • Eli Young

  • Jeremy Cline

  • Michal Konečný

v0.13.1

Features

  • Add database schema generation (#603).

Bug Fixes

  • Fix cron issues (#613).

v0.13.0

Dependencies

  • Explicitly depend on defusedxml

Features

Bug Fixes

  • Change edit message for project, when no edit actually happened (#579).

  • Fix wrong title on Edit page (#578).

  • Default custom regex is now configurable (#571).

v0.12.1

Dependencies

  • Unpin straight.plugin dependency. It was pinned to avoid a bug which has since been fixed in the latest releases (#564).

Bug Fixes

  • Rather than returning an HTTP 500 when authenticating with two separate identity providers using the same email, return a HTTP 400 to indicate the client should not retry the request and inform them they must log in with the original identity provider (#563).

v0.12.0

Dependencies

  • Drop the dependency on the Python bunch package as it is not used.

  • There is no longer a hard dependency on the rpm Python package.

  • Introduce a dependency on the Python social-auth-app-flask-sqlalchemy and flask-login packages in order to support authenticating against OAuth2, OpenID Connect, and plain OpenID providers.

  • Introduce a dependency on the Python blinker package to support signaling in Flask.

  • Introduce a dependency on the Python pytoml package in order to support a TOML configuration format.

Backwards-incompatible Changes

  • Dropped support for Python 2.6

  • Added support for Python 3.4+

APIs

A number of functions that make up Anitya’s Python API have been moved (#503). The full list of functions are below. Note that no function signatures have changed.

  • anitya.check_release is now anitya.lib.utilities.check_project_release.

  • anitya.fedmsg_publish is now anitya.lib.utilities.fedmsg_publish.

  • anitya.log is now anitya.lib.utilities.log.

  • anitya.lib.init is now anitya.lib.utilities.init.

  • anitya.lib.create_project is now anitya.lib.utilities.create_project.

  • anitya.lib.edit_project is now anitya.lib.utilities.edit_project.

  • anitya.lib.map_project is now anitya.lib.utilities.map_project.

  • anitya.lib.flag_project is now anitya.lib.utilities.flag_project.

  • anitya.lib.set_flag_state is now anitya.lib.utilities.set_flag_state.

  • anitya.lib.get_last_cron is now anitya.lib.utilities.get_last_cron.

Deprecations

  • Deprecated the v1 HTTP API.

Features

  • Introduced a new set of APIs under api/v2/ that support write operations for users authenticated with an API token.

  • Configuration is now TOML format.

  • Added a user guide to the documentation.

  • Added an admin guide to the documentation.

  • Automatically generate API documentation with Sphinx.

  • Introduce httpdomain support to document the HTTP APIs.

  • Add initial support for projects to set a “version scheme” in order to help with version ordering. At the present the only version scheme implemented is the RPM scheme.

  • Add support for authenticating using a large number of OAuth2, OpenID Connect, and OpenID providers.

  • Add a fedmsg consumer that integrates with libraries.io to provide more timely project update notifications.

  • Add support for running on OpenShift with s2i.

  • Switch over to pypi.org rather than pypi.python.org

  • Use HTTPS in backend examples, default URLs, and documentation.

Bug Fixes

  • Fixed deprecation warnings from using flask.ext (#431).

  • Fix the NPM backend’s update feed.

Developer Improvements

  • Fixed all warnings generated from building the Sphinx documentation and introduce tests to ensure there are no regressions (#427).

  • Greatly improved the unit tests by breaking monolithic tests up.

  • Moved the unit tests into the anitya.tests package so tests didn’t need to mess with the Python path.

  • Fixed logging during test runs

  • Switched to pytest as the test runner since nose is dead.

  • Introduced nested transactions for database tests rather than removing the database after each test. This greatly reduced run time.

  • Added support for testing against multiple Python versions via tox.

  • Added Travis CI integration.

  • Added code coverage with pytest-cov and Codecov integration.

  • Fixed all flake8 errors.

  • Refactored the database code to avoid circular dependencies.

  • Allow the Vagrant environment to be provisioned with an empty database.

Contributors

Many thanks to all the contributors for this release, including those who filed issues. Commits for this release were contributed by:

  • Elliott Sales de Andrade

  • Jeremy Cline

  • luto

  • Michael Simacek

  • Nick Coghlan

  • Nicolas Quiniou-Briand

  • Ricardo Martincoski

  • robled

Thank you all for your hard work.

v0.11.0

Released February 08, 2017.

  • Return 4XX codes in error cases for /projects/new rather than 200 (Issue #246)

  • Allow projects using the “folder” backend to make insecure HTTPS requests (Issue #386)

  • Fix an issue where turning the insecure flag on and then off for a project resulted in insecure requests until the server was restarted (Issue #394)

  • Add a data migration to set the ecosystem of existing projects if the backend they use is the default backend for an ecosystem. Note that this migration can fail if existing data has duplicate projects since there is a new constraint that a project name is unique within an ecosystem (Issue #402).

  • Fix the regular expression used with the Debian backend to strip the “orig” being incorrectly included in the version (Issue #398)

  • Added a new backend and ecosystem for https://crates.io (Issue #414)

  • [insert summary of change here]

v0.10.1

Released November 29, 2016.

  • Fix an issue where the version prefix was not being stripped (Issue #372)

  • Fix an issue where logs were not viewable to some users (Issue #367)

  • Update anitya’s mail_logging to be compatible with old and new psutil (Issue #368)

  • Improve Anitya’s error reporting via email (Issue #368)

  • Report the reason fetching a URL failed for the folder backend (Issue #338)

  • Add a timeout to HTTP requests Anitya makes to ensure it does not wait indefinitely (Issue #377)

  • Fix an issue where prefixes could be stripped further than intended (Issue #381)

  • Add page titles to the HTML templates (Issue #371)

  • Switch from processes to threads in the Anitya cron job to avoid sharing network sockets for HTTP requests across processes (Issue #335)