bemoji/CHANGELOG.md
Marty Oehme e14010eb53
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
🐛 Print user messages to stderr (#27)
Previously, any messages only intended for the user (status messages,
warnings, errors) were sent over stdout. The actual emoji items are also
sent to the pickers over stdout so they would sometimes pick up the
messages and show them as an option to pick. If history is enabled, we
then also save the falsely included items there to forever display as an
option.

This commit changes internal messages to all be sent over stderr
instead, so they should not be picked up by any external programs we
hand off to.
2024-01-11 10:58:11 +01:00

2.4 KiB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

Added

  • Add default support for fuzzel wayland-native picker tool
  • Add default support for ilia gtk-based picker tool, used by default in Regolith Linux
  • Pass through return code 1 from selection tool
  • (!) Number of displayed recent emoji can be set with -P option: This replaces previous -P history flag toggle. Use number to set amount of recent entries to display, -P3. To completely hide history use -P0.
  • Add nerdfont emoji set download with -D nerd
  • Add parsing for long-form options (--private instead of -p and so on): Options requiring a value can be given both in space-separated (--hist-limit 2) and equals-separated (--hist-limit=2) versions. POSIX option concatenation still works (-ne to echo without newline).

Changed

  • (!) History uses XDG_STATE_HOME directory by default: This constitutes a break in behavior if you relied a lot on your pick history in the default location. To retain your old history file, simply move it from the old cache directory (~/.cache/bemoji-history.txt by default) to the new one (~/.local/state/bemoji-history.txt by default).
  • (!) XDG_CACHE_LOCATION renamed to XDG_HISTORY_LOCATION to better signify its purpose

Fixed

  • Always download from newest emoji list url
  • Pass selection to custom typing tools through stdin
  • Pass info messages to stderr to avoid passing to picker tools

[0.3.0] - 2022-11-10

Added

  • Add new option -n which suppresses printing the final newline character in output

Changed

  • Multiple command options can be combined
  • Allow downloading emoji sets at any time after initial run with -D <choice>

Fixed

  • Custom default command is only executed when no command option given
  • Results are matched case insensitively when using rofi picker to match other pickers

[0.2.0] - 2022-06-29

Added

  • Display of configuration options on -v toggle
  • AUR installation instructions

Changed

  • Simplified grep invocation to adhere more closely to POSIX

Fixed

  • Custom picker, clipper, and typer command invocation quoting