v0.6.0
What's New
Fixed
- Better match accuracy —
rank,release_dateandartifact_namenow 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
2xxcounts as success;201and204used to fail.
Breaking
- New client constructor —
scanoss.New(Config)replacesscanoss.Optionand theWith*options.Proxy,CACertFile,InsecureTLSandTimeoutare now fields.NewHTTPClientandHTTPClientOptionsare private. WithScanIDNotifyis aScanOption— pass it to the scan call, not the client.pkg/apiandpkg/batchremoved
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.txtGo:
go install github.com/scanoss/scanoss.go/cmd/scanoss-cli@latestSee the README and
CLIENT_HELP.md
to get started.