Skip to content

v0.8.1

Latest

Choose a tag to compare

@watzon watzon released this 04 Jul 16:21
v0.8.1
c2ac9d4

The first release of the rewritten goshot — the codebase is now a small layered pipeline (content → chrome → background), and the released module finally matches the README again (#4). (v0.8.0 was tagged minutes earlier; its binary build failed on a dropped Go port, so v0.8.1 is the first release with artifacts.)

New

  • Color emoji in code and terminal screenshots (#5): skin tones, flags, keycaps, and ZWJ sequences render through the system emoji font (Apple Color Emoji, Noto Color Emoji, Segoe UI Emoji, …), degrading gracefully when none is installed. Works in window titles too.
  • Title bar colors (#6): --title-bar-color <hex|auto> and --title-text-color on the CLI; WithTitleBarColor, WithTitleTextColor, and WithTitleBarMatchingContent in the library. auto blends the title bar into the content background for a seamless window, keeping the title readable.
  • KDE Breeze chrome style, BMP export, and macOS binaries in the release artifacts.

Breaking

This release ships the full rewrite from #7 — 454 files changed, roughly 10,000 lines removed — so upgrading from v0.7.1 touches more than the two features above:

  • Library import paths and API: everything moved out of pkg/. pkg/render, pkg/content/code, pkg/content/term, pkg/chrome, pkg/background, and pkg/fonts are replaced by the top-level goshot, code, term, chrome, background, and fonts packages, and the canvas/builder API was redesigned around a three-stage pipeline. The README's Library section shows the new shape.
  • Config file format: ~/.config/goshot/config.yaml is now a flat map of flag names (theme: catppuccin-mocha, corner-radius: 12) instead of the old nested sections (io:, appearance:, …). Old config files are silently ignored — recreate yours using the flag names from goshot --help. Output filename templating ({{ .FileBase }}, {{ formatDate "2006-01-02" }}, env var and ~ expansion) still works.
  • Environment variable overrides (GOSHOT_* via viper) are gone; use flags or the config file.
  • Removed/changed flags: --config (the config path is fixed now) and --chrome-theme (chrome appearance is the light/dark variant plus the new --title-bar-color) no longer exist. Most other flag names carried over unchanged.

Full Changelog: v0.7.1...v0.8.1