Skip to content

v1.5.0

Latest

Choose a tag to compare

@github-actions github-actions released this 26 May 07:52
· 21 commits to main since this release
100dff7

libwayshot 0.8.0

Added

  • optional image formats behind explicit Cargo features (JPEG, WebP, AVIF, …), with PNG still in defaults (#324, @Gigas002).
  • optional egl feature and EGL path decoupled from a minimal default build (#320, @Gigas002).

Changed

Fixed

  • wait for frame completion after FrameState::Finished to avoid corrupted frames (#328, @HiFiveJazz).
  • simpler resize / filter path for the region selector (#329, @Gigas002).
  • incorrect color channel assignment in ext-image-copy format handling (bd0af7d, @Gigas002).

Breaking Changes

  • image encodings other than PNG require explicit Cargo features (#324, @Gigas002).
    • Migration: enable the codecs you need (jpeg, webp, avif, …) in Cargo.toml when building or depending on libwayshot.

wayshot

Added

  • Cargo features gating clipboard, color picker, logger, notifications, selector, AVIF, and JPEG XL (#306, @Gigas002).
  • split CLI implementation into focused modules (clipboard, color_picker, notification, logger, screenshot, …) (#306, @Gigas002).
  • Freeze before capture is on by default; set freeze in config, or pass --no-freeze on the CLI to disable (same idea as notifications) (#309, @Gigas002).
  • --delay before taking the shot (#318, @Gigas002).
  • shell completions generation (#319, @Gigas002).
  • optional geometry string after -g (e.g. wayshot out.png -g $"$(waysip -d)") (#333, @Gigas002).
  • --geometry-foreground-color and --geometry-background-color for the region overlay (#335, @saghen).
  • [geometry] config (foreground_color, background_color) for the region overlay (252c175, @saghen).
  • [notification] action config for a custom shell command when the notification is clicked (8039061, @Suryansh-Dey).
  • --color optional output format (plain, hex, hex-alpha, rgb, rgba, hsl) (d32e90c, @Gigas002 and @0xsamalt).
  • --open-location to open the saved image path (#283, @Suryansh-Dey).
  • --silent alias --no-notifications (19a605b, @Gigas002).

Changed

  • Nix flake dev shell and package (#336, @saghen).
  • CI split into workflow files, plus cargo deny and related checks (#315, @Gigas002).
  • JPEG XL (jxl feature): jxl-encoder (pure Rust, AGPL-3.0-or-later) replaces jpegxl-rs and system libjxl. [encoding.jxl] keys (lossless, distance, effort) are unchanged; encoded files may differ slightly from libjxl at the same settings. CI and the Nix flake no longer install libjxl.

Fixed

  • color_picker / selector feature wiring and docs (#339, @saghen).
  • Dependabot GitHub Actions config regression (#345, @Gigas002).
  • clipboard uses explicit MIME types per encoding instead of autodetect (be5683b, @RustyCoderX).
  • empty -g geometry string no longer falls through to interactive region selection (99ba370, @Gigas002).

Breaking Changes

  • wayshot and waymirror-egl are GPL-3.0; libwayshot stays BSD-2-Clause (#311, @Gigas002).
    • Migration: confirm licensing and redistribution obligations for anything you ship or vendor; see LICENSE-GPL and LICENSE-BSD.
  • -g / --geometry accepts an optional geometry string (e.g. from slurp / waysip -d); a token immediately after -g is now treated as that string, not the output file (#333, @Gigas002).
    • Migration: if you relied on wayshot -g FILE (output path right after -g), use wayshot FILE -g instead. Invocations like wayshot -g --clipboard are unchanged.