Skip to content

Releases

v0.19.0

Choose a tag to compare

@github-actions github-actions released this 17 Nov 12:11
7183e2b

Changelog

  • 7183e2b chore(release): v0.19.0 (#141)
  • b7a8a83 feat(dependencies): declare the Go standard library of a Go module (#140)
  • 0b9ca1a fix(sbom): name Go components by their full module path (#139)

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.

v0.18.0

Choose a tag to compare

@github-actions github-actions released this 17 Nov 11:14
90b3244

Changelog

  • a67b2f4 Merge pull request #136 from scanoss/feat/cli-toolchain-resolve
  • 90b3244 Merge pull request #137 from scanoss/chore/release-v0.18.0
  • 1f4f047 chore(release): v0.18.0
  • f629c31 feat(dependencies): add opt-in --toolchain go to resolve transitive Go module edges
  • acd1f80 feat(dependencies): resolve go.mod with go by default when go is on PATH
  • 5ac29ac fix(deps): build with Go 1.27.4

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.

v0.16.0

Choose a tag to compare

@github-actions github-actions released this 30 Oct 12:45
ec58b15

Changelog

  • ec58b15 Merge pull request #133 from scanoss/chore/release-v0.16.0
  • aa5bac6 Merge pull request #98 from scanoss/feat/snippet-classifier
  • 809aa9e chore(release): v0.16.0
  • 8ec29c6 feat(scan): classifier threshold, filtering, CycloneDX verdict and summary (#129)
  • 46abd2c feat(scan): classify snippet matches as false positives (opt-in)

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.

v0.15.0

Choose a tag to compare

@github-actions github-actions released this 23 Oct 12:32
d2ee569

Changelog

  • d2ee569 Merge pull request #125 from scanoss/feat/max-candidates-per-match
  • e3c8145 chore(release): v0.15.0
  • ff94e3f feat(cli): add --max-components to scan and scan wfp
  • e971023 feat(scan): WithMaxComponents sends max_components on every upload block

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.

v0.14.2

Choose a tag to compare

@github-actions github-actions released this 23 Oct 12:07

Changelog

  • f2a9b0c chore(release): v0.14.2
  • 7180c12 ci(release): sign and notarize macOS binaries

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.

v0.14.1

Choose a tag to compare

@github-actions github-actions released this 21 Oct 16:15
a3c8ead

Changelog

  • a3c8ead chore(release): v0.14.1 (#124)
  • b8b52f3 fix(scanoss): drop the API key on a cross-host redirect (#123)

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.

v0.12.0

Choose a tag to compare

@github-actions github-actions released this 19 Oct 21:07
426d7d5

Added

  • pkg/dependencies/resolve, a dependency graph with edges: nodes are purl@version, and
    each manifest is a root with its members, its edges and a status (complete, partial or
    unknown) with a reason. Member.Direct tells declared packages from those only in the
    lockfile. Node.Local marks the project's own packages, such as a workspace, path crate or
    PATH gem that another package depends on; they keep their edges, so consumers skip them to list third-party
    packages without losing what they pull in.
  • Member.Dev and Root.DevKnown tell dev dependencies from runtime ones, per root: a
    member is dev when the root reaches it only through its dev dependencies, so it can be left
    out of an SBOM. DevKnown is false when the manifests do not say which direct dependencies
    are dev, and then no member is dev. package-lock.json, yarn.lock and pnpm-lock.yaml
    read devDependencies, Cargo.lock the member manifests' [dev-dependencies],
    Gemfile.lock the development and test groups of the Gemfile, which it now reads,
    poetry.lock the dev groups of pyproject.toml, uv.lock each root's dev-dependencies
    groups, and composer.lock require-dev.
  • pkg/dependencies/resolve/lockfile builds that graph from package-lock.json (v2 and v3,
    including nested node_modules versions and workspaces), yarn.lock (v1 with package.json,
    and berry with workspaces), pnpm-lock.yaml (5.x, 6.x and 9.x), Cargo.lock (with a root
    per workspace member when the member manifests are available), Gemfile.lock, poetry.lock
    (with pyproject.toml) and composer.lock (with composer.json). It runs no process, and
    caps the bytes, nodes and edges it accepts from a lockfile.
  • npm-shrinkwrap.json, uv.lock and NuGet packages.lock.json are resolved too. uv.lock
    gives a root per workspace member at its pyproject.toml. packages.lock.json merges every
    target framework into one root named after the project file beside it, with the solution's
    other projects as local nodes; it does not record dev dependencies.
  • gradle.lockfile, Pipfile.lock and go.mod are resolved as module lists. They pin
    every package but record no edges, so their roots are partial with the new reason
    edges_unknown. Pipfile.lock reads the Pipfile for direct and dev dependencies, and
    go.mod marks requirements without // indirect as direct and applies replace.
  • dependencies --extract-local --graph prints the dependency graph resolved from every
    lockfile under the path, merged into one JSON document, so the resolver can be tried on a
    real project.
  • dependencies --extract-local --format raw|cyclonedx|spdx renders a project's dependencies
    as the same inventory scan --include deps writes, with no API call. Without --format the
    command prints the flat per-file list it always did.
  • The dependency graph in every output format. raw (schema_version 2.1) adds a
    dependencies list with one root per resolved manifest (lockfile, ecosystem, status, reason,
    dev_known, direct, edges), marks the components a root pulls in transitively with the transitive
    match type, and marks the project's own packages with local. CycloneDX adds an
    application component per root, a dependencies
    entry for every component and a compositions entry per root (complete, incomplete or
    unknown), and a scanoss:local property. SPDX adds a project package the document
    DESCRIBES, a package per root and DEPENDS_ON relationships, and a scanoss:local comment.
  • pkg/sbom/depsource builds an sbom.Inventory from a project's dependency files: the
    lockfile graph with dev members pruned, plus the manifests no lockfile covers parsed flat. It
    is what scan --include deps and dependencies --format share.

Changed

  • scan --include deps lists the lockfile-resolved versions in place of the manifests' range
    entries.
    Where package-lock.json, yarn.lock, pnpm-lock.yaml, Cargo.lock,
    Gemfile.lock, poetry.lock or composer.lock covers a manifest, the output lists every
    runtime package the lockfile resolved, direct and transitive, with its edges, instead of
    entries such as pkg:npm/left@^1.0.0. Dev dependencies are left out of every format. A
    lockfile that cannot be read gives an unknown root with no packages. Manifests no lockfile
    covers (pom.xml, go.mod, requirements.txt, …) keep their flat declared entries.
  • github.com/pelletier/go-toml/v2 updated to v2.4.3; v2.2.4 panics on some malformed TOML.
  • CycloneDX metadata.component always carries a bom-ref (the project name), so the
    dependency graph has something to hang from and a consumer can address the project.
  • sbom and enrich skip the project and root placeholders when reading a CycloneDX or
    SPDX document, so an application component without a purl no longer becomes a component
    named after a manifest. The graph itself round-trips through raw only.

The dependencies --graph JSON output is new and experimental: its shape may change in a minor release.

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.

v0.11.0

Choose a tag to compare

@github-actions github-actions released this 14 Oct 10:52
f0fa81a

Changed

  • Direct dependencies updated to their latest releases, including scanoss.api-sdk v0.31.0 and
    cyclonedx-go v0.12.0.

Security

  • Binaries, the Docker image and libscanoss are now built with Go 1.27.2. The module now
    requires Go 1.26 or later.

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.

v0.10.0

Choose a tag to compare

@github-actions github-actions released this 07 Oct 14:47
9b52b9a

Highlights

  • match_index on each matched file's evidence in raw output: where the component stood among the candidates the scanner returned for that file (0 = the component the file originates from). From batchScanner v0.0.10 the scanner lists a file's matches origin first; the client used to lose that order when grouping by component. Additive — consumers that don't read it are unaffected. raw-only (CycloneDX/SPDX have no field for it).
  • Components are ordered by what they explain (files they are primary in, then files matched, then url_hash) instead of by url_hash alone — in raw, CycloneDX and SPDX.
  • bom.replace re-points a file at its own candidate carrying the replacement PURL before falling back to the catalog.

See #102 and CLIENT_HELP.md for details.

Changelog

  • 9b52b9a feat(sbom): keep each file's match order in the raw output (#102)

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.

v0.9.0

Choose a tag to compare

@github-actions github-actions released this 28 Sep 02:17
cc4354f

Changelog

  • cc4354f Merge pull request #96 from scanoss/feat/scan-match-confidence
  • d08503b feat(scan): surface match confidence in results

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.