Fossology

Latest version: v3.2.0

Safety actively analyzes 621654 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

3.2.0

What's Changed
* feat(v2): support API version v2 by default by deveaud-m in https://github.com/fossology/fossology-python/pull/127
* feat(3.2.0): upgrade to next minor version by deveaud-m in https://github.com/fossology/fossology-python/pull/128


**Full Changelog**: https://github.com/fossology/fossology-python/compare/v3.1.1...v3.2.0

3.1.1

What's Changed
* fix(token): call sys.exit if server is not reachable by deveaud-m in https://github.com/fossology/fossology-python/pull/125
* fix(exceptions): instantiate the inherited exception class by deveaud-m in https://github.com/fossology/fossology-python/pull/126


**Full Changelog**: https://github.com/fossology/fossology-python/compare/v3.1.0...v3.1.1

3.1.0

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`

See corresponding pull requests: https://github.com/fossology/fossology-python/pull/118 and https://github.com/fossology/fossology-python/pull/119

3.0.0

Release description

This release adds support for almost all API endpoints implemented in Fossology 4.2.1:
* Uploads licenses and copyrights: https://github.com/fossology/fossology-python/pull/111
* `/all` jobs endpoint for admins: https://github.com/fossology/fossology-python/pull/109
* Downloading an upload: https://github.com/fossology/fossology-python/pull/105
* Default user group: https://github.com/fossology/fossology-python/pull/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 https://github.com/fossology/fossology-python/compare/v2.1.0...v3.0.0.

2.1.0

Ensure basic support for the new Fossology API version 1.5.1:

- **Bug fix**: proper `uploadType` is required to upload packages via `GET /uploads` (386fd35759db40025929d23820ae6dc69dce9b8c)
- **Feature**: support new group endpoints (b70744d61e0d9c05643da726972326f3c7820ad7)
- `GET /groups/{id}/members`
- `POST /groups/{group_id}/user/{user_id}`
- **Refactoring** & **Feature**: support new users endpoints (3b1955566c79d8e76d116dae7b8ef3fea1bcc0f5)
- `POST /users`
- `DELETE /users/{id}`
- **Chore**: update direct dependencies (d8d4dcfee3d7e3e831e1d4fdd7b7711ed4b38309) and GitHub pages deploy action (d3cd9c8991bfd0c75774031692080fa65f71cd87)

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 https://github.com/fossology/fossology/pull/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 https://github.com/fossology/fossology-python/commit/b5775a9b32d3b01c92bb775fc4ca33357227cf1a

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](https://github.com/fossology/fossology-python/commit/652011e7c20dc062a81d9659cd4ef34054da503a)
- mark tests for latest Fossology to `continue-on-error`: [4ac5b2a4](https://github.com/fossology/fossology-python/commit/4ac5b2a4f010bd9baba9871c08ef8d3061cffb2d)
- add new object `JobStatus` and make sure all jobs are completed during the test setup: [3fe9bad5](https://github.com/fossology/fossology-python/commit/3fe9bad5632e1fdfc1bf99b85f2f6520337c4bed)
- cleanup data generated during the `sample-workflow` test: [042740a3](https://github.com/fossology/fossology-python/commit/042740a3e3357db612341e1b21e74538e5f0d248)
- add CLI commands `delete_folder`, `delete_upload` and call them from the test to cleanup uploads created during the `foss_cli` tests: [ca42bfaf](https://github.com/fossology/fossology-python/commit/ca42bfaf10deb960011dfdd4260f5bb0bff87b5b)

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.