Release Notes¶
0.18 (2020-01-13)¶
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¶
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¶
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¶
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)¶
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)¶
Bug Fixes¶
Development Changes¶
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)¶
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)¶
Bug Fixes¶
Development Changes¶
Other Changes¶
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)¶
Bug Fixes¶
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¶
Other Changes¶
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¶
Bug Fixes¶
Development Changes¶
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.0¶
Dependencies¶
- Explicitly depend on
defusedxml
Features¶
- Update GitHub backend to GitHub API v4 (#582).
- Add GitLab backend. This is implemented using GitLab API v4 (#591).
- Update CPAN backend to use metacpan.org (#569).
- Parse XML from CPAN with defusedxml (#569).
v0.12.1¶
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
andflask-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 nowanitya.lib.utilities.check_project_release
.anitya.fedmsg_publish
is nowanitya.lib.utilities.fedmsg_publish
.anitya.log
is nowanitya.lib.utilities.log
.anitya.lib.init
is nowanitya.lib.utilities.init
.anitya.lib.create_project
is nowanitya.lib.utilities.create_project
.anitya.lib.edit_project
is nowanitya.lib.utilities.edit_project
.anitya.lib.map_project
is nowanitya.lib.utilities.map_project
.anitya.lib.flag_project
is nowanitya.lib.utilities.flag_project
.anitya.lib.set_flag_state
is nowanitya.lib.utilities.set_flag_state
.anitya.lib.get_last_cron
is nowanitya.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)