Skip to content

v31.0.0

Choose a tag to compare

@tdruez tdruez released this 25 Aug 09:26
· 867 commits to main since this release
  • WARNING: Drop support for Python 3.6 and 3.7. Add support for Python 3.10.
    Upgrade Django to version 4.1 series.

  • Upgrade ScanCode-toolkit to version 31.0.x.
    See https://github.com/nexB/scancode-toolkit/blob/develop/CHANGELOG.rst for an
    overview of the changes in the v31 compared to v30.

  • Implement run status auto-refresh using the htmx JavaScript library.
    The statuses of queued and running pipeline are now automatically refreshed
    in the project list and project details views every 10 seconds.
    A new "toast" type of notification is displayed along the status update. #390

  • Ensure the worker service waits for migrations completion before starting.
    To solve this issue we install the wait-for-it script available in
    Debian by @vishnubob and as suggested in the Docker documentation.
    In the docker-compose.yml, we let the worker wait for the web processing
    to be complete when gunicorn exposes port 8000 and web container is available. #387
    Reference: https://docs.docker.com/compose/startup-order/
    Reference: https://github.com/vishnubob/wait-for-it
    Reference: https://tracker.debian.org/pkg/wait-for-it

  • Add a "create-user" management command to create new user with its API key. #458

  • Add a "tag" field on the CodebaseResource model.
    The layer details are stored in this field in the "docker" pipeline. #443

  • Add support for multiple inputs in the LoadInventory pipeline. #451

  • Add new SCANCODEIO_REDIS_PASSWORD environment variable and setting
    to optionally set Redis instance password.

  • Ensure a project cannot be deleted through the API while a pipeline is running. #402

  • Display "License clarity" and "Scan summary" values as new panel in the project
    details view. The summary is generated during the scan_package pipeline. #411

  • Enhance Project list view page: #413

    • 20 projects are now displayed per page
    • Creation date displayed under the project name
    • Add ability to sort by date and name
    • Add ability to filter by pipeline type
    • Add ability to filter by run status
  • Correctly extract symlinks in docker images. We now use the latest
    container-inspector to fix symlinks extraction in docker image tarballs.
    In particular broken symlinks are not treated as an error anymore
    and symlinks are extracted correctly. #471 #407

  • Add a Package details view including all model fields and resources.
    Display only 5 resources per package in the list view. #164 #464

  • Add the ability to filter by empty and none values providing the
    "EMPTY" magic value to any filters. #296

  • CodebaseResource.name now contains both the bare file name with extension, as
    opposed to just the bare file name without extension.
    Using a name stripped from its extension was something that was not used in
    other AboutCode project or tools. #467

  • Export current results as XLSX for resource, packages, and errors list views. #48

  • Add support for .tgz extension for input files in Docker pipeline #499

  • Add support for resource missing file content in details view.
    Refine the annotation using the new className instead of type. #495

  • Change the worksheet names in XLSX output, using the
    "PACKAGES", "RESOURCES", "DEPENDENCIES", and "ERRORS" names. #511

  • Update application Package scanning step to reflect the updates in
    scancode-toolkit package scanning.

    • Package data detected from a file are now stored on the
      CodebaseResource.package_data field.
    • A second processing step is now done after scanning for Package data, where
      Package Resources are determined and DiscoveredPackages are created. #444
  • CodebaseResource.for_packages now returns a list of
    DiscoveredPackage.package_uid or DiscoveredPackage.package_url if
    DiscoveredPackage.package_uid is not present. This is done to reflect the
    how scancode-toolkit's JSON output returns package_uid in the
    for_packages field for Resources.

Full Changelog: v30.2.0...v31.0.0