v5.8.0
What's Changed
- [DIT-13461]: Read git context in the CLI scan by @laurakoye in #154
ditto scannow reads the git context of the directory you scan — the repository, the commit, the branch, and where the scan started within the repository — and sends it along with the scan. This allows a later scan to be recognized as the same codebase, rather than importing every string again.- This reads your local
gitonly. There are no additional network calls, no credentials are used or transmitted, and nothing is recorded about your remote beyond its host and path. - Scanning without git still works exactly as before. Outside a repository, the CLI prints
not a git repository - this scan can be imported but not re-syncedand continues. When the working tree has uncommitted changes, it notes that the recorded commit is approximate. - Also includes [DIT-13467]: Send git metadata with POST /v2/scan in #155
- Text extraction now uses
@dittowords/text-extract0.3.0. Scan candidate identifiers are derived from the file, the value, and the occurrence index, so identifiers differ from those produced by earlier versions. - Scanning a directory with no extractable strings now prints its warning as intended.
Full Changelog: v5.7.2...v5.8.0