Skip to content

Releases: sw360/sw360python

1.3.0

02 Oct 09:38
Compare
Choose a tag to compare
  • 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 reasons get_all_releases without page parameter returns
    a list of releases. But when the page parameter is used, a dict will be returned that also contains
    information about paging.
  • get_all_components now supports allDetails and sort.
    IMPORTANT: Due to compatibility reasons get_all_components without page parameter returns
    a list of components. But when the page parameter is used, a dict will be returned that also contains
    information about paging.

1.2.2

07 Aug 21:17
Compare
Choose a tag to compare
  • 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

05 Jan 07:58
Compare
Choose a tag to compare
  • dependency updates to mitigate potential security vulnerabilities.
  • markdown style checks introduced.
  • logging introduced, espcially to show a warning when adding an attachment
    returns is not 201 (created) but 202 (accepted).

1.2.0

07 Feb 17:00
c7b0867
Compare
Choose a tag to compare
  • 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 parameter add_subprojects to only add the new
    sub-projects and not to overwrite all existing sub-projects.

1.1.0

11 Oct 06:22
bb0a249
Compare
Choose a tag to compare
  • New method duplicate_project to create a copy of an exisiting project.

1.0.0

17 Sep 15:20
Compare
Choose a tag to compare
  • New Features:
    • get_projects_by_tag added.
    • get_releases_by_name added.
    • get_all_vendors added.
  • We have covered nearly all of the possibel REST API calls.
    The library is successfully being used by multiple projects.
    Time to release version 1.0.0.

First public release

21 May 15:50
Compare
Choose a tag to compare
  • 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.