Changelog

v8.1.0

  • The contents of minecode-pipelines have been merged into minecode. These pipelines can now be run directly from purldb.

v8.0.0

  • The contents of matchcode_pipeline` and the matchcodeio` Django project have been merged into PurlDB. This is done by making ScanCode.io the main dependency of PurlDB via https://github.com/aboutcode-org/scancode.io/pull/2187. Users will no longer have to create and run both purldb and matchcodeio for matching functionality. Likewise, purldb_public_project has been removed and merged back into PurlDB. The functionality of it is now controlled by an environment variable PURLDB_PUBLIC_SETUP that limits the available API endpoints to only packages, resources, and validate. The required versions of Python and Postgres have been bumped to 3.12 and 17, respectively. Existing PurlDB Docker deployments using Postgres 13 can be migrated to Postgres 17 using the migrate-pg13-to-17.sh.

v7.1.0

  • Add SBOM API action on packages (/api/packages/<package uuid>/sbom/)

  • Create command, federate_sboms, to federate CycloneDX 1.6 SBOMs using stored package data

v6.0.0

  • Improve web template for API web page https://github.com/aboutcode-org/purldb/issues/132

  • The API endpoints for approximate_directory_content_index, approximate_directory_structure_index, exact_file_index, exact_package_archive_index, cditems, on_demand_queue have been removed.

  • The /api/collect/ and /api/collect/index_packages/ API endpoints have been updated such that Package scan and processing requests made with purls with versions are processed ahead of those made with versionless purls. https://github.com/aboutcode-org/purldb/issues/502

  • The /api/scan_queue/ endpoint has been updated. /api/scan_queue/get_next_download_url/ now returns a webhook_url, where the purldb scan worker will submit results. This is a URL to the /api/scan_queue/index_package_scan/ endpoint. /api/scan_queue/update_status/ is now an action on a ScannableURI. https://github.com/aboutcode-org/purldb/issues/504

  • The packages collected via the /api/collect/ endpoint can be ordered in an ascending or descending fashion on fields using the sort query parameter. This parameter takes in the same fields as sort from /api/packages/. https://github.com/aboutcode-org/purldb/issues/508

  • Visitors and Mappers have been merged into a single module named miners.

  • Code is now formatted using ruff.

  • purldb, matchcode, and other related projects have been updated to store, collect, and match code snippets. This is still in an early phase.

  • Add FederatedCode support.

  • Update queries when filtering resources by checksums to fix a performance issue.

v5.0.1

  • Update link references of ownership from nexB to aboutcode-org

v5.0.0

v3.0.0

This is a major release with major API changes

  • Add clearcode, matchcode, and matchcode-toolkit to purldb.

  • Reorganize code such that purldb is a single Django app.

  • support for new package repositories and ecosystems

  • Add new matching capabilities for exact files

  • Improve deployment with docker-compose

  • Add new and improved scan queue

  • Add a new matchcode-toolkit for matching packaged as a ScanCode plugin

  • This is now using the latest version of ScanCode toolkit

v2.0.0

Initial release.