Skip to content

ds 0.1.4 — the CLI (downloads)

Choose a tag to compare

@khanakia khanakia released this 01 Oct 04:49
· 25 commits to main since this release

ds 0.1.4: three fixes for changes that went unnoticed, the user guide, and a move to the Apache License 2.0.

What changed

  • Fixed: Go string text is now part of the hash. Changing errors.New("account locked") to "account suspended", a URL or a query inside a Go function never flagged the sentences citing it.
  • Fixed: policy.require_doc and ds report's unmarked view now cover Go, TypeScript, TSX, JavaScript, Python and SQL. They used to skip every file read by a tree-sitter grammar.
  • Fixed: ds github comment left each block diff's code fence open, so the rest of the comment rendered as code.
  • The extraction cache is keyed on the ds build, so an upgrade re-reads each file once.
  • License: Apache-2.0 from this release on.
  • Docs: the user guide is at docs/guide.

Upgrading

Go blocks whose code contains a "…" string get a new hash, so their citations report once after the upgrade. The changelog has a prompt a coding agent can follow to re-ack only the citations whose code did not change.

Install

macOS (Apple silicon) and Linux (amd64, arm64):

curl -fsSL https://raw.githubusercontent.com/ubgo/docsync/main/install.sh | sh

Windows (amd64, ARM64), in PowerShell:

irm https://raw.githubusercontent.com/ubgo/docsync/main/install.ps1 | iex

With Go 1.26+ and a C compiler:

go install github.com/ubgo/docsync/cli/cmd/ds@v0.1.4

Every archive holds ds and the five secret-resolver plugins, with a checksums.txt.