Releases: fossology/fossology-python
New patch release
What's Changed
- fix(version): use v1 by default until v2 will be released by @deveaud-m in dc0e0b7
- tests(v1): test v1 by default, add tests for uploads v2 by @deveaud-m in 171332d
- chore(lint): replace flake8, black and isort by ruff by @deveaud-m in #131
Full Changelog: v3.2.0...v3.2.1
Minor release 3.2.0
What's Changed
- feat(v2): support API version v2 by default by @deveaud-m in #127
- feat(3.2.0): upgrade to next minor version by @deveaud-m in #128
Full Changelog: v3.1.1...v3.2.0
Patch release v3.1.1
What's Changed
- fix(token): call sys.exit if server is not reachable by @deveaud-m in #125
- fix(exceptions): instantiate the inherited exception class by @deveaud-m in #126
Full Changelog: v3.1.0...v3.1.1
Minor 3.1.0: add support for Fossology 4.4.0-rc1 (partial)
Add support for:
GET /uploads/{id}/item/{itemId}/clearing-history
GET /uploads/{id}/item/{itemId}/prev-next
GET /uploads/{id}/item/{itemId}/bulk-history
POST /uploads/{id}/item/{itemId}/bulk-scan
GET /uploads/{id}/item/{itemId}/info
GET /uploads/{id}/item/{itemId}/totalcopyrights
New major release 3.0.0
Release description
This release adds support for almost all API endpoints implemented in Fossology 4.2.1:
- Uploads licenses and copyrights: #111
/all
jobs endpoint for admins: #109- Downloading an upload: #105
- Default user group: #106
Breaking change: due to inconsistencies in the API version management in Fossology release 4.2.x, support for version checking and backward compatibility has been dropped from the Python library. Make sure FossologyApiError
exceptions are handled properly to detect feature incompatibility between your Fossology server instance and your Python script.
Additionally this new release add some more chore functionality like types checking, updated Python dependencies and adaptation to new poetry flags for dependency management and some minor coverage improvements.
For details about all changes added to this release, go to v2.1.0...v3.0.0.
New minor release 2.1.0
Ensure basic support for the new Fossology API version 1.5.1:
- Bug fix: proper
uploadType
is required to upload packages viaGET /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
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 thefoss_cli
tests: ca42bfaf
Support Fossology API 1.4.0
- 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
- Fix/content disposition by @deveaud-m in #97
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
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
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: