Skip to content

Releases: fossology/fossology-python

New minor release 2.1.0

23 Mar 10:13
295541d

Choose a tag to compare

Ensure basic support for the new Fossology API version 1.5.1:

  • Bug fix: proper uploadType is required to upload packages via GET /uploads (386fd35)
  • Feature: support new group endpoints (b70744d)
    • GET /groups/{id}/members
    • POST /groups/{group_id}/user/{user_id}
  • Refactoring & Feature: support new users endpoints (3b19555)
    • POST /users
    • DELETE /users/{id}
  • Chore: update direct dependencies (d8d4dcf) and GitHub pages deploy action (d3cd9c8)

Major update 2.0.0

22 Sep 15:33
7f525b1

Choose a tag to compare

This major release update is mandatory because of the availability of fine grained server information in the /info endpoint of Fossology API, see fossology/fossology#2139. Due to this change, the initial server data model populated during login in fossology-python was extended to support the new object Fossology thus making this new release not compatible with older versions of the API.

The unit test have been adapted accordingly and all former version checks needed to differentiate features depending on the server version were removed.

See b5775a9

Additional changes in this new release are mainly related to optimizations of fosslogy-python itself:

  • update default python version for the tests to 3.10, deprecate 3.6: 652011e7
  • mark tests for latest Fossology to continue-on-error: 4ac5b2a4
  • add new object JobStatus and make sure all jobs are completed during the test setup: 3fe9bad5
  • cleanup data generated during the sample-workflow test: 042740a3
  • add CLI commands delete_folder, delete_upload and call them from the test to cleanup uploads created during the foss_cli tests: ca42bfaf

Support Fossology API 1.4.0

22 Apr 05:51
86ba9bd

Choose a tag to compare

  • Add support for API version 1.4.0: adapt PUT and PATCH /upload, see fossology/fossology#2101
  • Add possibility to specify wait_time for reports download, closes #95
  • Fix content disposition regex when downloading reports, closes #96
  • Update Python dependencies

What's Changed

Full Changelog: v1.4.0...v1.5.0

Version 1.4.0 with foss_cli and support for Fossology API up to 1.3.4

07 Oct 10:57
56f639c

Choose a tag to compare

This minor release come with a brand new feature contributed by @thsetz, look at the foss_cli documentation in the README.

New features:

  • Support for extended upload endpoint (Fossology API v1.3.4) #92
  • Support for new /info and /health endpoints (Fossology API v1.3.3) #91
  • foss_cli #75

Bug fix:

  • Typehints compatibility with Python < 3.9 #79

Many thanks to @thsetz @alpianon and @GMishx for their contributions to this release!

Add support for API versions up to 1.3.2

23 Jul 08:59
cc32ea0

Choose a tag to compare

This release implements support for the new and updated endpoint up to API version 1.3.2 (Fosssology 3.11.x).

Drop support for version previous to Fossology 3.10.0 (API version 1.2.1).

Related pull requests:

  • Fix for /upload POST endpoint: #66, many thanks to @WallaceIT
  • Improve testsuite: #67
  • Support new /users/self endpoint: #68
  • Support new /license endpoints: #69
  • Support new reuse options: #70

Breaking change - Support uploads/jobs pagination

10 Feb 14:33
a6f9918

Choose a tag to compare

Endpoints /uploads and /jobs` support pagination if the number of record is bigger than 100.

This release allows limiting listing to given pages and page-sizes or retrieve all pages at once.

Value returned by list_uploads and list_jobs is now a tuple with the Upload/Job list and the total number of pages available.
This is a breaking change in the API.

Alignment release 1.2.1

29 Jan 14:23
0af632d

Choose a tag to compare

Align release of fossology-python with Fossology REST API version, currently 1.2.1.

New features:

  • Limit file search to a single upload (#47)
  • Add upload from server (#50)
  • Support backward compatibility with previous API version (#51)
  • Support /license and /groups new endpoints (#55 and #56)

Other improvements:

  • Use pytest as the default test framework
  • Extend testsuite to support docker shared volumes in Github actions
  • Sort imports using isort

First major release 1.0.0

31 Dec 09:21

Choose a tag to compare

This is the first major version of the fossology python wrapper.

This version supports the fossology API up to version 1.1.1.
Some incompatibilities with former versions of the API could remain.

This library now uses pytest to perform the unit and integration tests (using the latest tag of Fossology Docker container).
The testsuite of this first major release covers 94% of the code.

Minor release 0.2.0 with refactored report API

16 Oct 13:08
de95d1e

Choose a tag to compare

The download_report() function now gets the name of the report generated by the Fossology server from the HTTP response header and returns both the report content, and the report filename. See documentation for details.

This is a small but breaking change compared with the previous version, Fossology clients source code will need some minor adaptation if an upgrade is performed.

Patch release v0.1.4

14 Oct 14:57

Choose a tag to compare

Add wait_time option to improve configurability depending on the size of the uploaded file.