Releases: sw360/sw360python
Releases · sw360/sw360python
1.4.0
1.3.1
1.3.0
get_projectsfixed - paging work now as expected.get_projectsnow also supports a sort order.get_all_releasesnow also support paging.
IMPORTANT: Due to compatibility reasonsget_all_releaseswithoutpageparameter returns
a list of releases. But when thepageparameter is used, a dict will be returned that also contains
information about paging.get_all_componentsnow supportsallDetailsandsort.
IMPORTANT: Due to compatibility reasonsget_all_componentswithoutpageparameter returns
a list of components. But when thepageparameter is used, a dict will be returned that also contains
information about paging.
1.2.2
- fix: download_xxx_attachment now raises an SW360Error for failed downloads
instead of silently creating a file containing the JSON answer - dependency updates to fix requests CVE-2023-32681.
- be REUSE compliant.
- get rid of json_params_matcher deprecation warning.
1.2.1
1.2.0
- new method
update_project_release_relationship. - original
get_health_statusendpoint URL has been restored by the SW360 team. - fix: better check assumptions on returned data, see #5.
update_projecthas a new parameteradd_subprojectsto only add the new
sub-projects and not to overwrite all existing sub-projects.
1.1.0
1.0.0
First public release
- relicensed to MIT.
- Breaking API changes:
- create_new_{component,release,project} now have parameters for required attributes
- drop support for dump_rest_call() and dump_rest_call_to_file().
- upload_attachment() has been renamed to upload_release_attachment(). This is to have
the same naming scheme for the new methods upload_component_attachment() and
upload_project_attachment().
- New Features:
- support of the group parameter for the /projects endpoint.
- SW360 REST API now support project fields 'Project state' and 'Phase-out since'.
- get_health_status() added.
- get_project_vulnerabilities() added.
- SW360Error has new property
details.
- Improvements:
- Debug option to supress session handling.
- unit tests added.
- published on GitHub.