Skip to content

0.4.0 (2023-10-20)

Compare
Choose a tag to compare
@loichyan loichyan released this 20 Oct 03:58
· 53 commits to main since this release
v0.4.0
c8959d8

This release introduces the predefined substitutions support suggested in #9 (thanks @Finii), and also brings some UX breaking changes. Here are some guides for migrating from v0.3:

  1. Use dump instead of cache to show all icons and substitutions in the runtime database.
  2. The Previous release supports use --replace FROM:TO to perform a prefix substitution, now it uses the newly add --sub TYPE:FROM/TO argument to support both exact and prefix substitutions. This means that you should use --sub prefix:FROM/TO in place of the old one.

Added

  • Add -v/-q to control log level (1294e24).
  • Support load predefined substitutions list (#10).
  • Support parse the new cheat-sheet format (#10).
  • Support read from and write to STDIO in more options (#7).

Changed

  • [breaking] Rename subcommand cache to dump (f148638).
  • [breaking] Deprecated --replace FROM:TO, use --sub prefix:FROM/TO instead (557c6fd).
  • Move --sub to global options (6c8808e).
  • Save database in JSON (e8a0ccf).
  • Show source paths in logs (2699dd4).
  • Strip nf- prefixes in messages, and generated databases (#12).
  • Warn usage of deprecated arguments (a783b7e).

Fixed

  • Exit non-zero if any error occurs (#15).