Releases: sw360/sw360python
Releases · sw360/sw360python
1.3.0
get_projects
fixed - paging work now as expected.get_projects
now also supports a sort order.get_all_releases
now also support paging.
IMPORTANT: Due to compatibility reasonsget_all_releases
withoutpage
parameter returns
a list of releases. But when thepage
parameter is used, a dict will be returned that also contains
information about paging.get_all_components
now supportsallDetails
andsort
.
IMPORTANT: Due to compatibility reasonsget_all_components
withoutpage
parameter returns
a list of components. But when thepage
parameter 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_status
endpoint URL has been restored by the SW360 team. - fix: better check assumptions on returned data, see #5.
update_project
has a new parameteradd_subprojects
to 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.