Skip to content

v0.0.3

Latest

Choose a tag to compare

@github-actions github-actions released this 09 Aug 20:46
· 2 commits to master since this release
7c3249d

Changelog for cmdutils@v0.0.3

This release focuses on the addition of `text` subnet and expansion of `image` subnet.


text subnet - new utils

  • count counts lines, words, characters, and bytes of a file or stdin
    (wc-style, with -w/-l/-m/-c flags)
  • case converts text between upper, lower, title, snake, kebab, camel,
    pascal, and constant letter cases
  • replace replaces all occurrences of a string, with in-place (-i) and
    output-file (-o) modes
  • base64 encodes and decodes base64 data from a file or stdin
  • checksum computes md5, sha256, or sha512 hashes of a file or stdin

image subnet - new utils

  • crop crops an image to a WxH+X+Y region with bounds validation
  • rotate rotates an image clockwise in 90° steps
  • grayscale converts an image to grayscale (Rec. 601 luma)
  • watermark overlays semi-transparent text on an image using a system font,
    a bundled fallback font, or a custom --font, with --color, --opacity,
    --position, and --size
  • watermark falls back to a bundled Roboto font when no system font is
    installed, so it works on font-less systems (e.g. minimal CI containers)
  • strip removes all embedded metadata (EXIF, comments) from an image

image subnet - batch & glob processing

  • All image utils now accept glob patterns (e.g. *.png, photos/*.jpg)

  • Multiple matches are processed in parallel with bounded concurrency and
    per-file error reporting

    TL;DR: v0.0.3 introduces the text subnet, adds five new image utils
    (crop, rotate, grayscale, watermark, strip), and brings glob
    patterns with parallel processing to the entire image subnet

Full Changelog: v0.0.2...v0.0.3