Fossology

Latest version: v3.2.1

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

Scan your dependencies

Page 2 of 4

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)

1.5.0

- Add support for API version 1.4.0: adapt PUT and PATCH /upload, see https://github.com/fossology/fossology/pull/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 https://github.com/fossology/fossology-python/pull/97

**Full Changelog**: https://github.com/fossology/fossology-python/compare/v1.4.0...v1.5.0

1.4.0

This minor release come with a brand new feature contributed by thsetz, look at the [foss_cli](https://github.com/fossology/fossology-python#using-the-cli) documentation in the README.

New features:
- Support for extended upload endpoint (Fossology API v1.3.4) https://github.com/fossology/fossology-python/pull/92
- Support for new `/info` and `/health` endpoints (Fossology API v1.3.3) https://github.com/fossology/fossology-python/pull/91
- `foss_cli` https://github.com/fossology/fossology-python/pull/75

Bug fix:
- Typehints compatibility with Python < 3.9 https://github.com/fossology/fossology-python/pull/79

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

1.3.4

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: https://github.com/fossology/fossology-python/pull/66, many thanks to WallaceIT
* Improve testsuite: https://github.com/fossology/fossology-python/pull/67
* Support new `/users/self` endpoint: https://github.com/fossology/fossology-python/pull/68
* Support new `/license` endpoints: https://github.com/fossology/fossology-python/pull/69
* Support new reuse options: https://github.com/fossology/fossology-python/pull/70

1.3.0

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.

1.2.1

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`

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.