Skip to content

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 31 Jul 18:13
· 44 commits to main since this release
622e2cb

What's New

Fixed

  • Better match accuracyrank, release_date and artifact_name now reach the inventory. Before, two components matching the same file looked equally strong.
  • No more hangs — requests time out after 120s (Config.Timeout, negative to disable).
  • Fewer false errors — any 2xx counts as success; 201 and 204 used to fail.

Breaking

  • New client constructorscanoss.New(Config) replaces scanoss.Option and the With* options. Proxy, CACertFile, InsecureTLS and Timeout are now fields. NewHTTPClient and HTTPClientOptions are private.
  • WithScanIDNotify is a ScanOption — pass it to the scan call, not the client.
  • pkg/api and pkg/batch removed

Install

Prebuilt binary: download the archive for your platform below, extract it,
and move scanoss-cli onto your PATH. On Linux (amd64):

tar xzf scanoss-cli-linux-amd64.tar.gz
sudo mv scanoss-cli /usr/local/bin/

Verify a download against checksums.txt:

sha256sum -c --ignore-missing checksums.txt

Go:

go install github.com/scanoss/scanoss.go/cmd/scanoss-cli@latest

See the README and
CLIENT_HELP.md
to get started.