Skip to content

v0.6.1 — Temp-File Leak Fix & Brand Identity

Choose a tag to compare

@LarsArtmann LarsArtmann released this 04 Nov 01:59
· 102 commits to master since this release

Patch release: fixes a temp-file leak in the Go module, ships the new brand identity, and hardens CI.

Go module

Fixed

  • Temp file leaked when the final rename failed — every public writer returned the rename error without removing the staged .<random>.tmp file (reachable when the target path is a directory, or on rename ENOSPC/EIO). A failed write no longer leaves .tmp residue next to the target.

Changed

  • Source split into focused files — atomicwrite.go (public write API), fingerprint.go (xxhash64 fingerprinting), commit.go (verification + locking + rename commit), stage.go (temp-file staging + fsync). No API or behavior change; all 31 tests moved verbatim.

Website

  • Brand identity: "the atomic swap" logo — an emerald squircle with two opposing arrows (new bytes in, old bytes out), generated from a single geometry into every surface (favicon, header/footer, docs, OG card, README lockups). pnpm run brand:check gates drift in CI.
  • npm dependency sweep — open advisories 62 → 1 (the remaining moderate is dev-only and tracked upstream).
  • Removed the stale global.out.css artifact and the root package.json stub.

CI

  • Cross-compile job (windows/amd64, darwin/amd64, darwin/arm64) — the v0.5.1 Windows-break class is caught before a tag ships.
  • govulncheck + drift-guard jobs (go mod tidy -diff, version-trio check, pnpm install --frozen-lockfile).
  • GOTOOLCHAIN: local — no rogue toolchain downloads.
  • golangci-lint pin v2.13.2 → v2.14.0 — the go1.26-built binary could not typecheck the Go 1.27 stdlib.

Full changelog: v0.6.0...v0.6.1