github fedora-infra/anitya 2.5.0
Anitya 2.5.0

3 hours ago

2.5.0 (2026-11-27)

Features

  • Allow adding new projects just from URL (#1742)

  • Detect duplicate projects on creation and edit. (#1752)

  • Style visited links to visually distinguish opened project pages. (#1954)

  • Default project search to prefix matching and prioritize exact matches. (#1958)

  • Use HTMX for project form checks and updates pagination. (#2142)

  • Implement parse_url and default Semantic version scheme for crates.io backend (#2174)

  • Implement parse_url and sanitize repository URLs for GitLab backend. (#2184)

  • Implement parse_url and default Semantic version scheme for Rubygems backend. (#2186)

  • Support npmjs.com URLs in NpmjsBackend.is_url_valid, implement parse_url for
    regular and scoped packages, percent-encode scoped package names in
    get_version_url, and set default Semantic version scheme for NpmjsBackend
    and NpmEcosystem. (#2196)

  • Implement parse_url and _clean_url for PagureBackend to support adding
    Pagure projects by URL, accept both http and https URLs in is_url_valid,
    and explicitly set default_version_scheme to RPM. (#2201)

  • Implement parse_url for CranBackend to support adding CRAN projects by URL,
    accept both http and https URLs in is_url_valid, explicitly declare
    default_version_scheme to RPM, and fix backend docstring. (#2205)

  • Implement parse_url for LaunchpadBackend to support adding Launchpad
    projects by URL, accept both http and https URLs in is_url_valid,
    explicitly declare default_version_scheme to RPM, and fix backend docstrings. (#2211)

  • Implement parse_url for HackageBackend to support adding Hackage projects by URL,
    accept both http and https URLs in is_url_valid, strip version suffixes, explicitly
    declare default_version_scheme to RPM, and fix backend docstrings. (#2215)

  • Implement parse_url for PeclBackend to support adding PECL projects by URL,
    accept both http and https URLs in is_url_valid, strip version suffixes, explicitly
    declare default_version_scheme to RPM, and fix backend docstrings. (#2218)

  • Implement parse_url for PearBackend to support adding PEAR projects by URL,
    accept both http and https URLs in is_url_valid, strip version suffixes, explicitly
    declare default_version_scheme to RPM, and fix backend docstrings. (#2229, #2231)

  • Implement parse_url for StackageBackend to support adding Stackage
    projects by URL, accept http and non-www URLs in is_url_valid,
    explicitly declare default_version_scheme to RPM, and fix backend docstrings. (#2233)

  • Implement parse_url, accept http/ftp URLs and improve error handling for GNU backend (#2237)

  • Implement parse_url for GnomeBackend to support adding GNOME
    projects by URL, accept http URLs in is_url_valid,
    explicitly declare default_version_scheme to RPM, and fix backend docstrings. (#2239)

  • Implement parse_url for Debian backend (#2241)

  • Implement parse_url for GogsBackend to support adding Gogs
    projects by URL, accept http URLs in is_url_valid,
    explicitly declare default_version_scheme to RPM, and fix backend docstrings. (#2243)

  • Implement parse_url for MavenBackend to support adding Maven Central
    projects by URL, expand URL validation in is_url_valid,
    explicitly declare default_version_scheme to RPM, and fix backend docstrings. (#2245)

Bug Fixes

  • Fix import of anitya.lib.backends on Python 3.15 (sre_constants was removed) (#2130)

  • Deduplicate project names and improve autocomplete search responsiveness. (#2140)

  • Emphasize typo suggestions in the search empty state. (#2141)

  • Fix trailing-slash route shadowing on project and distro creation forms. (#2161)

  • Add typo tolerant project name suggestions and optimize autocomplete. (#2124)

  • Switch crates.io backend to use Cargo's sparse index. (#2131)

  • Allow project creation when backend rate limits are hit during pre-creation validation. (#2138)

  • Preserve version pattern and insecure settings on project creation. (#2142)

  • Fix release check crashes and false prefix matches on filtered projects. (#2155)

  • Fix SQLAlchemy relationship overlap warning for Project.packages vs Packages.project. (#2164)

  • Gitea URL import truncates valid repository names (#2166)

  • Fix Cgit parse_url truncating repository names (#2170)

  • Fix release check errors during project edit being misattributed to duplicate project name and homepage. (#2176)

  • Fix Drupal6 and Drupal7 backend docstrings to correctly refer to drupal.org instead of ftp.debian.org. (#2177)

  • Update DebianBackend to accept both http and https URLs in is_url_valid. (#2180)

  • Fix Drupal6 and Drupal7 get_version_url to not re-introduce the prefix when project name contains hyphens. (#2182)

  • Fix missing continue on ValueError in CpanBackend.check_feed to avoid crash or duplicate releases. (#2188)

  • Fix unhandled IndexError in PeclBackend and PearBackend get_version when no versions found. (#2199)

  • Fix URL validation and implement parse_url for NpmjsBackend. (#2207)

  • Fix BitBucketBackend.get_versions ignoring project.version_filter. (#2209)

  • Fix unhandled IndexError in BaseBackend.get_version when no versions found. (#2213)

  • Fix unhandled TypeError, ValueError, and KeyError in PypiBackend.check_feed. (#2220)

  • Fix alembic upgrade (#2222)

  • Fix unhandled TypeError, ValueError, and KeyError in PeclBackend.check_feed and PearBackend.check_feed. (#2224)

  • Fix unhandled TypeError, ValueError, and KeyError in PearBackend and PeclBackend check_feed. (#2227)

  • Fix error handling in get_versions and implement robust URL parsing for SourceHut backend (#2235)

  • Fix unhandled TypeError and KeyError in RubygemsBackend and CranBackend check_feed. (#2247)

  • Fix unhandled KeyError and TypeError in NpmjsBackend.check_feed. (#2249)

  • Fix URL validation to accept http URLs, fix get_version_url on http and non-bitbucket URLs, and implement robust parse_url for BitBucket backend. (#2251)

  • Fix URL validation to accept http URLs and implement robust parse_url for Packagist backend. (#2253)

  • Fix URL validation to accept http URLs, handle full URLs in get_version_url, and implement robust parse_url for SourceForge backend. (#2255)

  • Fix URL validation, get_version_url, and implement robust parse_url for Cgit backend. (#2257)

  • Fix URL validation, get_version_url, and implement robust parse_url for Packagist backend. (#2258)

  • Fix URL validation, get_version_url, and implement robust parse_url for Gitea backend. (#2260)

  • Fix ValueError crash, URL validation, and implement robust parse_url for Sourceforge (git) backend. (#2262)

Development Changes

  • Isolate dev container virtualenv to /opt/venv. (#2132)

  • Speed up test database setup with transaction rollbacks. (#2136)

  • Add AGENTS.md documenting development guidelines, tooling, and conventions. (#2137)

  • Fix container image name typo and add OCI source label to link published container to repository. (#2126)

  • Fix dev container startup race in make up and add PackageNotFoundError fallback for version. (#2127)

  • Set cache_ok = True on GUID TypeDecorator to enable SQLAlchemy query caching. (#2157)

  • Replace deprecated semver.compare and semver.VersionInfo with semver.Version. (#2162)

Other Changes

  • Document unparseable versions and troubleshooting in user guide. (#2194)

Contributors

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

  • Michal Konecny
  • Sheikh Limon
  • cristianchiriac
  • Muskan Kumari
  • DavdaJames
  • Shivani Patel
  • Tanmai1808

Don't miss a new anitya release

NewReleases is sending notifications on new releases.